diff options
Diffstat (limited to 'androvdr/res/layout')
-rw-r--r-- | androvdr/res/layout/channel_item.xml | 21 | ||||
-rw-r--r-- | androvdr/res/layout/channel_list.xml | 10 | ||||
-rw-r--r-- | androvdr/res/layout/epg_detail.xml | 84 | ||||
-rw-r--r-- | androvdr/res/layout/epg_list.xml | 50 | ||||
-rw-r--r-- | androvdr/res/layout/epg_search.xml | 32 | ||||
-rw-r--r-- | androvdr/res/layout/epg_search_times_item.xml | 8 | ||||
-rw-r--r-- | androvdr/res/layout/epg_search_times_list.xml | 25 | ||||
-rw-r--r-- | androvdr/res/layout/event_item.xml | 40 | ||||
-rw-r--r-- | androvdr/res/layout/main.xml | 21 | ||||
-rw-r--r-- | androvdr/res/layout/timer_detail.xml | 99 | ||||
-rw-r--r-- | androvdr/res/layout/timer_list.xml | 11 | ||||
-rw-r--r-- | androvdr/res/layout/vdrmanager.xml | 28 | ||||
-rw-r--r-- | androvdr/res/layout/vdrmanager_menu_item.xml | 21 | ||||
-rw-r--r-- | androvdr/res/layout/video.xml | 27 |
14 files changed, 477 insertions, 0 deletions
diff --git a/androvdr/res/layout/channel_item.xml b/androvdr/res/layout/channel_item.xml new file mode 100644 index 0000000..dd09400 --- /dev/null +++ b/androvdr/res/layout/channel_item.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/channel_item" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/channel_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <ImageView + android:id="@+id/channel_type" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + +</LinearLayout>
\ No newline at end of file diff --git a/androvdr/res/layout/channel_list.xml b/androvdr/res/layout/channel_list.xml new file mode 100644 index 0000000..dd6ec31 --- /dev/null +++ b/androvdr/res/layout/channel_list.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> + <ListView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/channel_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignWithParentIfMissing="true" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground"/> diff --git a/androvdr/res/layout/epg_detail.xml b/androvdr/res/layout/epg_detail.xml new file mode 100644 index 0000000..7752819 --- /dev/null +++ b/androvdr/res/layout/epg_detail.xml @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/epg_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold"/> + + <LinearLayout + android:id="@+id/epg_detail_time_channel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <TextView + android:id="@+id/epg_detail_time" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="left" + android:layout_weight="1"/> + + <TextView + android:id="@+id/epg_detail_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="right"/> + + </LinearLayout> + + <TextView + android:id="@+id/epg_detail_date" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="left" + android:layout_below="@id/epg_detail_time"/> + + <TextView + android:id="@+id/epg_detail_separator_0" + android:layout_width="fill_parent" + android:layout_height="2sp"/> + + <TextView + android:id="@+id/epg_detail_separator_1" + android:layout_width="fill_parent" + android:layout_height="1sp"/> + + <ScrollView + android:id="@+id/epg_detail_description_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1"> + + <TextView + android:id="@+id/epg_detail_description" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + </TextView> + + </ScrollView> + + <TextView + android:id="@+id/epg_detail_separator_2" + android:layout_width="fill_parent" + android:layout_height="1sp"/> + + <TextView + android:id="@+id/epg_detail_separator_3" + android:layout_width="fill_parent" + android:layout_height="4sp"/> + + <Button + android:id="@+id/epg_event_create_timer" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_centerHorizontal="true" + android:text="@string/epg_event_create_timer_text"/> + +</LinearLayout> diff --git a/androvdr/res/layout/epg_list.xml b/androvdr/res/layout/epg_list.xml new file mode 100644 index 0000000..dd44a8b --- /dev/null +++ b/androvdr/res/layout/epg_list.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <LinearLayout + android:id="@+id/whatson_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <TextView + android:id="@+id/epg_list_time_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/epg_list_time_label"/> + + <Spinner + android:id="@+id/epg_list_time_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:prompt="@string/epg_list_time_label"/> + + </LinearLayout> + + <Spinner + android:id="@+id/epg_list_channel_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:prompt="@string/epg_list_channel_spinner"/> + + <ListView + android:id="@+id/whatson_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_below="@id/epg_list_time_spinner" + android:layout_alignWithParentIfMissing="true" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground"/> + + <TextView + android:id="@+id/epg_list_search_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/epg_list_search_label"/> + +</LinearLayout> diff --git a/androvdr/res/layout/epg_search.xml b/androvdr/res/layout/epg_search.xml new file mode 100644 index 0000000..4153451 --- /dev/null +++ b/androvdr/res/layout/epg_search.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/epg_search_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold"/> + + <EditText + android:id="@+id/epg_search_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/epg_detail_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button + android:id="@+id/epg_search_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="@string/epg_search_button"/> + +</LinearLayout> + diff --git a/androvdr/res/layout/epg_search_times_item.xml b/androvdr/res/layout/epg_search_times_item.xml new file mode 100644 index 0000000..93aa44b --- /dev/null +++ b/androvdr/res/layout/epg_search_times_item.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:gravity= "center_vertical" + android:lines="2"/> diff --git a/androvdr/res/layout/epg_search_times_list.xml b/androvdr/res/layout/epg_search_times_list.xml new file mode 100644 index 0000000..f2ab650 --- /dev/null +++ b/androvdr/res/layout/epg_search_times_list.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ListView + android:id="@+id/epg_search_times_list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:cacheColorHint="?android:attr/colorBackground"/> + + <Button + android:id="@+id/epg_search_times_add" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/epg_search_times_add" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:text="@string/epg_search_times_add"/> + + +</RelativeLayout> diff --git a/androvdr/res/layout/event_item.xml b/androvdr/res/layout/event_item.xml new file mode 100644 index 0000000..aab354a --- /dev/null +++ b/androvdr/res/layout/event_item.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/timer_item" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp"> + + <ImageView + android:id="@+id/timer_item_state" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_alignParentLeft="true" + android:layout_centerVertical="true"/> + + <TextView + android:id="@+id/timer_item_time" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_toRightOf="@id/timer_item_state" + android:gravity="left"/> + + <TextView + android:id="@+id/timer_item_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_toRightOf="@id/timer_item_time" + android:gravity="right"/> + + <TextView + android:id="@+id/timer_item_title" + android:ellipsize="end" + android:gravity="left" + android:layout_toRightOf="@id/timer_item_state" + android:layout_below="@id/timer_item_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + +</RelativeLayout>
\ No newline at end of file diff --git a/androvdr/res/layout/main.xml b/androvdr/res/layout/main.xml new file mode 100644 index 0000000..1d0e21b --- /dev/null +++ b/androvdr/res/layout/main.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<TabHost xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/tabhost" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp"> + <TabWidget + android:id="@android:id/tabs" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + <FrameLayout + android:id="@android:id/tabcontent" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp" /> + </LinearLayout> +</TabHost>
\ No newline at end of file diff --git a/androvdr/res/layout/timer_detail.xml b/androvdr/res/layout/timer_detail.xml new file mode 100644 index 0000000..0aa5da7 --- /dev/null +++ b/androvdr/res/layout/timer_detail.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ScrollView + android:id="@+id/timer_detail_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5"> + + <LinearLayout + android:id="@+id/timer_detail_layout" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:id="@+id/timer_detail_channel_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textStyle="bold" + android:text="@string/timer_detail_channel_title"/> + + <EditText + android:id="@+id/timer_detail_channel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:editable="false"/> + + <TextView + android:id="@+id/timer_detail_title_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textStyle="bold" + android:text="@string/timer_detail_title_title"/> + + <EditText + android:id="@+id/timer_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/timer_detail_start_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/timer_detail_start_title"/> + + <LinearLayout + android:id="@+id/timer_detail_start_daytime" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <EditText + android:id="@+id/timer_detail_start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + <EditText + android:id="@+id/timer_detail_day" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + </LinearLayout> + + <TextView + android:id="@+id/timer_detail_end_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/timer_detail_end_title"/> + + <EditText + android:id="@+id/timer_detail_end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + <TextView + android:id="@+id/timer_detail_fill" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="0.5"/> + + </LinearLayout> + + </ScrollView> + + <Button + android:id="@+id/timer_details_save" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="@string/timer_details_create_title"/> + +</LinearLayout> diff --git a/androvdr/res/layout/timer_list.xml b/androvdr/res/layout/timer_list.xml new file mode 100644 index 0000000..13cff32 --- /dev/null +++ b/androvdr/res/layout/timer_list.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<ListView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/timer_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignWithParentIfMissing="true" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" +/> diff --git a/androvdr/res/layout/vdrmanager.xml b/androvdr/res/layout/vdrmanager.xml new file mode 100644 index 0000000..d4ca7db --- /dev/null +++ b/androvdr/res/layout/vdrmanager.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ImageView + android:id="@+id/main_logo" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:src="@drawable/vdr_logo"/> + +<!-- + <ListView + android:id="@+id/vdrmanager_menu" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_below="@id/main_logo"/> +--> + + <GridView + android:id="@+id/vdrmanager_menu" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_below="@id/main_logo"/> + +</RelativeLayout> diff --git a/androvdr/res/layout/vdrmanager_menu_item.xml b/androvdr/res/layout/vdrmanager_menu_item.xml new file mode 100644 index 0000000..1c793d8 --- /dev/null +++ b/androvdr/res/layout/vdrmanager_menu_item.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/vdrmanager_menu_item" + android:lines="2" + android:gravity="center_vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="15dp" + android:paddingRight="15dp" + android:paddingTop="10dp" + android:paddingBottom="10dp"/> + +<!-- +<ImageButton xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/vdrmanager_menu_item" + android:lines="2" + android:gravity="center_vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> +-->
\ No newline at end of file diff --git a/androvdr/res/layout/video.xml b/androvdr/res/layout/video.xml new file mode 100644 index 0000000..595e02a --- /dev/null +++ b/androvdr/res/layout/video.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/epg_search_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold"/> + + <VideoView + android:id="@+id/video_video" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button + android:id="@+id/video_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="Start"/> + +</LinearLayout> + |