diff options
author | lado <herrlado@gmail.com> | 2011-11-01 16:07:12 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-01 16:07:12 +0100 |
commit | 22805607a538bd4df422242e2725c1c02807dd8a (patch) | |
tree | 545813c47685273e7f0368a06e03d96c0c9e07a7 /vdrmanager/res | |
parent | 70185fdadd3573dcd30b5daf9d7895a6e25bf536 (diff) | |
download | vdr-manager-22805607a538bd4df422242e2725c1c02807dd8a.tar.gz vdr-manager-22805607a538bd4df422242e2725c1c02807dd8a.tar.bz2 |
big refactoring
Diffstat (limited to 'vdrmanager/res')
-rw-r--r-- | vdrmanager/res/layout/about.xml | 13 | ||||
-rw-r--r-- | vdrmanager/res/layout/channel_list.xml | 7 | ||||
-rw-r--r-- | vdrmanager/res/layout/epg_detail.xml | 325 | ||||
-rw-r--r-- | vdrmanager/res/layout/epg_search_times_item.xml | 1 | ||||
-rw-r--r-- | vdrmanager/res/layout/event_epg_list.xml | 20 | ||||
-rw-r--r-- | vdrmanager/res/layout/recording_list.xml | 13 | ||||
-rw-r--r-- | vdrmanager/res/layout/time_epg_list.xml | 148 | ||||
-rw-r--r-- | vdrmanager/res/layout/timer_list.xml | 13 | ||||
-rw-r--r-- | vdrmanager/res/layout/timer_operation_list_item | 10 | ||||
-rw-r--r-- | vdrmanager/res/menu/epg_list_menu.xml | 3 | ||||
-rw-r--r-- | vdrmanager/res/values-de/epg.xml | 2 | ||||
-rw-r--r-- | vdrmanager/res/values-de/epg_search_times.xml | 1 | ||||
-rw-r--r-- | vdrmanager/res/values-de/timers.xml | 4 | ||||
-rw-r--r-- | vdrmanager/res/values/epg.xml | 2 | ||||
-rw-r--r-- | vdrmanager/res/values/epg_search_times.xml | 1 | ||||
-rw-r--r-- | vdrmanager/res/values/timers.xml | 2 |
16 files changed, 331 insertions, 234 deletions
diff --git a/vdrmanager/res/layout/about.xml b/vdrmanager/res/layout/about.xml new file mode 100644 index 0000000..3831b90 --- /dev/null +++ b/vdrmanager/res/layout/about.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <TextView + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:autoLink="all" + android:text="@string/about_text" /> + +</ScrollView>
\ No newline at end of file diff --git a/vdrmanager/res/layout/channel_list.xml b/vdrmanager/res/layout/channel_list.xml index 0a089d2..a632b48 100644 --- a/vdrmanager/res/layout/channel_list.xml +++ b/vdrmanager/res/layout/channel_list.xml @@ -1,4 +1,4 @@ -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> @@ -19,7 +19,7 @@ </LinearLayout> <LinearLayout android:orientation="vertical" android:id="@+id/no_connection_layout" android:layout_width="fill_parent" - android:layout_height="fill_parent" android:visibility="gone"> + android:layout_height="fill_parent"> <LinearLayout android:layout_height="fill_parent" android:gravity="center" android:layout_width="fill_parent" android:orientation="horizontal"> @@ -34,5 +34,4 @@ </LinearLayout> </LinearLayout> - -</LinearLayout> +</ViewFlipper> diff --git a/vdrmanager/res/layout/epg_detail.xml b/vdrmanager/res/layout/epg_detail.xml index d763429..fb4ed6c 100644 --- a/vdrmanager/res/layout/epg_detail.xml +++ b/vdrmanager/res/layout/epg_detail.xml @@ -1,167 +1,168 @@ <?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" - android:textAppearance="?android:textAppearanceMedium" - android:text="Unterwegs nach Cold Mountain"/> <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:textAppearance="?android:textAppearanceSmall" - android:text="20:10-20-15" - /> - - <TextView - android:id="@+id/epg_detail_duration" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:gravity="right" android:layout_weight="1" - android:paddingLeft="10dip" - android:text="2/123min" - android:textAppearance="?android:textAppearanceSmall" - /> - - - <TextView - android:id="@+id/epg_detail_channel" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="Sky Cinema" - android:visibility="gone" - android:gravity="right"/> - - </LinearLayout> - - - <LinearLayout android:layout_width="fill_parent" android:padding="3dip" android:paddingBottom="1dip" - android:layout_height="wrap_content" android:layout_marginTop="0dip" - android:orientation="horizontal"> - - <ImageView android:id="@+id/epg_timer_state" android:layout_marginRight="5dip" - android:layout_width="wrap_content" android:layout_height="fill_parent" - android:layout_centerVertical="true" android:visibility="gone" /> - - <TextView - android:id="@+id/epg_detail_shorttext" + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="left" - android:layout_weight="1" - android:text="Krimikömedie" - android:textAppearance="?android:textAppearanceSmall"/> - - </LinearLayout> + 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:text="Unterwegs nach Cold Mountain" + android:textAppearance="?android:textAppearanceMedium" + android:textStyle="bold" /> - <TextView - android:id="@+id/epg_detail_separator_0" - android:layout_width="fill_parent" - android:layout_height="2sp"/> - - - - - <ProgressBar - android:id="@+id/epg_detail_progress" - android:layout_width="fill_parent" - android:indeterminate="false" - android:layout_height="2dip" - android:progress="40" - style="?android:attr/progressBarStyleHorizontal"/> - - <ScrollView - android:id="@+id/epg_detail_description_scroll" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_weight="1"> + <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:text="20:10-20-15" + android:textAppearance="?android:textAppearanceSmall" /> - <TextView android:textSize="16dip" - android:id="@+id/epg_detail_description" + <TextView + android:id="@+id/epg_detail_duration" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="right" + android:paddingLeft="10dip" + android:text="2/123min" + android:textAppearance="?android:textAppearanceSmall" /> + + <TextView + android:id="@+id/epg_detail_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="right" + android:text="Sky Cinema" + android:visibility="gone" /> + </LinearLayout> + + <LinearLayout android:layout_width="fill_parent" - android:layout_height="fill_parent"> - </TextView> - - </ScrollView> + android:layout_height="wrap_content" + android:layout_marginTop="0dip" + android:orientation="horizontal" + android:padding="3dip" + android:paddingBottom="1dip" > - <TextView - android:id="@+id/epg_detail_separator_2" - android:layout_width="fill_parent" - android:layout_height="1sp"/> + <ImageView + android:id="@+id/epg_timer_state" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_centerVertical="true" + android:layout_marginRight="5dip" + android:visibility="gone" /> - <TextView - android:id="@+id/epg_detail_separator_3" - android:layout_width="fill_parent" - android:layout_height="4sp"/> - -<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center"> + <TextView + android:id="@+id/epg_detail_shorttext" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="left" + android:text="Krimikömedie" + android:textAppearance="?android:textAppearanceSmall" /> + </LinearLayout> + + <TextView + android:id="@+id/epg_detail_separator_0" + android:layout_width="fill_parent" + android:layout_height="2sp" /> + + <ProgressBar + android:id="@+id/epg_detail_progress" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="fill_parent" + android:layout_height="2dip" + android:indeterminate="false" + android:progress="40" /> + + <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" + android:textSize="16dip" > + </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" /> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:orientation="horizontal" > -<!-- + <!-- --> <ImageButton android:id="@+id/epg_event_left" - android:src="@drawable/left" + android:src="@drawable/ic_menu_back" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="left" - style="?android:attr/buttonStyleSmall" - android:layout_marginRight="40dip" android:background="@android:drawable/list_selector_background"/> - - --> - - - <ImageButton - android:id="@+id/epg_event_livetv" - android:src="@drawable/tv" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_centerHorizontal="true" - style="?android:attr/buttonStyleSmall" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" - android:background="@android:drawable/list_selector_background" - android:text="@string/epg_eent_livetv_text"/> - - <ImageButton - android:id="@+id/epg_event_create_timer" - android:src="@drawable/timer" - android:layout_width="wrap_content" - android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" - android:layout_gravity="center_horizontal" - android:layout_centerHorizontal="true" - android:background="@android:drawable/list_selector_background" - style="?android:attr/buttonStyleSmall" - android:text="@string/epg_event_create_timer_text"/> - - <ImageButton - android:id="@+id/epg_event_imdb" - android:src="@drawable/imdb" - android:layout_width="wrap_content" - android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" - android:layout_gravity="center_horizontal" - android:layout_centerHorizontal="true" - android:background="@android:drawable/list_selector_background" - style="?android:attr/buttonStyleSmall" - android:text="@string/epg_event_imdb_text"/> - - - <!-- + <!-- --> + +<LinearLayout android:orientation="horizontal" android:layout_height="wrap_content" android:addStatesFromChildren="true" android:layout_weight="1.0" android:layout_width="wrap_content" android:gravity="center_vertical" + android:baselineAligned="false"> + <ImageButton android:layout_weight="1" + android:id="@+id/epg_event_livetv" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/tv" + android:text="@string/epg_eent_livetv_text" /> + + <ImageButton android:layout_weight="1" + android:id="@+id/epg_event_create_timer" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/timer" + android:text="@string/epg_event_create_timer_text" /> + + <ImageButton android:layout_weight="1" + android:id="@+id/epg_event_imdb" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/imdb" + android:text="@string/epg_event_imdb_text" /> +</LinearLayout> + <!-- <ImageButton android:id="@+id/epg_event_share" android:src="@android:drawable/ic_menu_share" @@ -172,9 +173,10 @@ android:background="@android:drawable/list_selector_background" style="?android:attr/buttonStyleSmall" android:text="@string/epg_event_share_text"/> - --> - - <!-- + --> + + + <!-- <ImageButton android:id="@+id/epg_event_epg" android:src="@drawable/epg" @@ -185,22 +187,15 @@ android:background="@android:drawable/list_selector_background" style="?android:attr/buttonStyleSmall" android:text="@string/epg_event_create_timer_text"/> - --> - <!-- - <ImageButton + --> + <!-- --> + <ImageButton android:id="@+id/epg_event_right" - android:src="@drawable/right" + android:src="@drawable/ic_menu_forward" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="right" - android:layout_centerHorizontal="true" - style="?android:attr/buttonStyleSmall" - android:layout_marginLeft="40dip" android:background="@android:drawable/list_selector_background"/> ---> - - - </LinearLayout> - - -</LinearLayout> + + + </LinearLayout> + </LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/res/layout/epg_search_times_item.xml b/vdrmanager/res/layout/epg_search_times_item.xml index 93aa44b..5680f7e 100644 --- a/vdrmanager/res/layout/epg_search_times_item.xml +++ b/vdrmanager/res/layout/epg_search_times_item.xml @@ -5,4 +5,5 @@ android:paddingLeft="5dp" android:paddingRight="5dp" android:gravity= "center_vertical" + android:textAppearance="?android:textAppearanceLarge" android:lines="2"/> diff --git a/vdrmanager/res/layout/event_epg_list.xml b/vdrmanager/res/layout/event_epg_list.xml index 436ca23..e706f06 100644 --- a/vdrmanager/res/layout/event_epg_list.xml +++ b/vdrmanager/res/layout/event_epg_list.xml @@ -10,13 +10,33 @@ 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" > + <Spinner android:id="@+id/epg_list_channel_spinner" android:layout_width="fill_parent" android:layout_height="wrap_content" + android:layout_weight="1" android:prompt="@string/epg_list_channel_spinner" /> + <ImageView + android:clickable="true" + android:background="@android:drawable/list_selector_background" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:id="@+id/switch_epg_view" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + style="?android:attr/buttonStyleSmall" + android:src="@android:drawable/ic_menu_revert" /> + </LinearLayout> + <ListView android:id="@+id/whatson_list" android:layout_width="fill_parent" diff --git a/vdrmanager/res/layout/recording_list.xml b/vdrmanager/res/layout/recording_list.xml index 1dabd2c..66eb5de 100644 --- a/vdrmanager/res/layout/recording_list.xml +++ b/vdrmanager/res/layout/recording_list.xml @@ -1,7 +1,9 @@ <?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"> +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > <LinearLayout android:layout_height="fill_parent" android:layout_width="fill_parent" android:id="@+id/main_content"> <ListView xmlns:android="http://schemas.android.com/apk/res/android" @@ -11,9 +13,10 @@ android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:cacheColorHint="?android:attr/colorBackground" /> </LinearLayout> + <LinearLayout android:orientation="vertical" android:id="@+id/no_connection_layout" android:layout_width="fill_parent" - android:layout_height="fill_parent" android:visibility="gone"> + android:layout_height="fill_parent"> <LinearLayout android:layout_height="fill_parent" android:gravity="center" android:layout_width="fill_parent" android:orientation="horizontal"> @@ -28,4 +31,4 @@ </LinearLayout> </LinearLayout> -</LinearLayout>
\ No newline at end of file +</ViewFlipper>
\ No newline at end of file diff --git a/vdrmanager/res/layout/time_epg_list.xml b/vdrmanager/res/layout/time_epg_list.xml index c45f9ba..5364aa9 100644 --- a/vdrmanager/res/layout/time_epg_list.xml +++ b/vdrmanager/res/layout/time_epg_list.xml @@ -1,63 +1,105 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" android:layout_width="fill_parent" android:layout_height="fill_parent" - android:orientation="vertical"> + android:orientation="vertical" > - <LinearLayout - android:id="@+id/whatson_time" + <LinearLayout android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/epg_list_time_label" + 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" + android:visibility="gone" /> + + <ImageView + android:id="@+id/epg_list_times" + style="?android:attr/buttonStyleSmall" + android:layout_centerHorizontal="true" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:clickable="true" + android:src="@android:drawable/ic_menu_recent_history" /> + + <Spinner + android:id="@+id/epg_list_time_spinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:prompt="@string/epg_list_time_label" /> + + <ImageView + android:id="@+id/switch_epg_view" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:clickable="true" + android:src="@android:drawable/ic_menu_revert" /> + </LinearLayout> + + <ListView + android:id="@+id/whatson_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_below="@id/epg_list_time_spinner" + 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_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"/> - + android:text="@string/epg_list_search_label" /> </LinearLayout> - - <ListView - android:id="@+id/whatson_list" + + <LinearLayout + android:id="@+id/no_connection_layout" 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 android:orientation="vertical" - android:id="@+id/no_connection_layout" android:layout_width="fill_parent" - android:layout_height="fill_parent" android:visibility="gone"> - <LinearLayout android:layout_height="fill_parent" - android:gravity="center" android:layout_width="fill_parent" - android:orientation="horizontal"> - <TextView android:text="@string/no_connection" - android:layout_height="wrap_content" android:layout_width="wrap_content" - android:textSize="18dip" /> - <ImageView android:src="@drawable/sad" - android:layout_height="wrap_content" android:layout_width="wrap_content" /> - <Button android:text="@string/no_connection_retry" - android:textSize="18dip" android:layout_height="wrap_content" - android:layout_width="wrap_content" android:id="@+id/retry_button" /> - - </LinearLayout> - </LinearLayout> - - -</LinearLayout> + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + +</ViewFlipper>
\ No newline at end of file diff --git a/vdrmanager/res/layout/timer_list.xml b/vdrmanager/res/layout/timer_list.xml index 2416767..5e01c4a 100644 --- a/vdrmanager/res/layout/timer_list.xml +++ b/vdrmanager/res/layout/timer_list.xml @@ -1,7 +1,9 @@ <?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"> +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > <LinearLayout android:layout_height="fill_parent" android:layout_width="fill_parent" android:id="@+id/main_content"> <ListView xmlns:android="http://schemas.android.com/apk/res/android" @@ -11,9 +13,10 @@ android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:cacheColorHint="?android:attr/colorBackground" /> </LinearLayout> + <LinearLayout android:orientation="vertical" android:id="@+id/no_connection_layout" android:layout_width="fill_parent" - android:layout_height="fill_parent" android:visibility="gone"> + android:layout_height="fill_parent"> <LinearLayout android:layout_height="fill_parent" android:gravity="center" android:layout_width="fill_parent" android:orientation="horizontal"> @@ -28,4 +31,4 @@ </LinearLayout> </LinearLayout> -</LinearLayout>
\ No newline at end of file +</ViewFlipper>
\ No newline at end of file diff --git a/vdrmanager/res/layout/timer_operation_list_item b/vdrmanager/res/layout/timer_operation_list_item new file mode 100644 index 0000000..16aa849 --- /dev/null +++ b/vdrmanager/res/layout/timer_operation_list_item @@ -0,0 +1,10 @@ +<?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:textAppearance="?android:textAppearanceLarge" + android:textColor="#000" + android:lines="2"/> diff --git a/vdrmanager/res/menu/epg_list_menu.xml b/vdrmanager/res/menu/epg_list_menu.xml index 44ae64d..86a1f78 100644 --- a/vdrmanager/res/menu/epg_list_menu.xml +++ b/vdrmanager/res/menu/epg_list_menu.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> - +<!-- <item android:id="@+id/epg_menu_search" android:icon="@android:drawable/ic_menu_search" android:title="@string/epg_menu_search"/> +--> <item android:id="@+id/epg_menu_times" android:icon="@android:drawable/ic_menu_search" diff --git a/vdrmanager/res/values-de/epg.xml b/vdrmanager/res/values-de/epg.xml index 3c2e905..e2795c1 100644 --- a/vdrmanager/res/values-de/epg.xml +++ b/vdrmanager/res/values-de/epg.xml @@ -5,6 +5,7 @@ <string name="epg_list_time_label">Was kommt</string> <string name="epg_list_time_now">jetzt</string> <string name="epg_list_time_next">als nächstes</string> + <string name="epg_list_time_adhoc">Ad Hoc</string> <string name="epg_list_channel_spinner">Kanal</string> <string name="epg_list_search_label">Suchergebnisse</string> @@ -24,6 +25,7 @@ <string name="epg_by_search">EPG Suche</string> <string name="epg_by_search_param">EPG Suche: \'%1$s\'</string> <string name="epg_by_time">EPG nach Zeit</string> + <string name="epg_by_time_args">EPG nach Zeit: \'%1$s\'</string> <string name="search_epg_hint">Suche EPG</string> <string name="epg_search_settings_description">Suche VDR EPG</string> diff --git a/vdrmanager/res/values-de/epg_search_times.xml b/vdrmanager/res/values-de/epg_search_times.xml index c44d2ab..9657ab8 100644 --- a/vdrmanager/res/values-de/epg_search_times.xml +++ b/vdrmanager/res/values-de/epg_search_times.xml @@ -2,5 +2,6 @@ <resources> <string name="epg_search_times_add">Zeit hinzufügen</string> + <string name="epg_search_times_window">Selbstdefinierte Zeiten</string> </resources> diff --git a/vdrmanager/res/values-de/timers.xml b/vdrmanager/res/values-de/timers.xml index 3410395..d2e9a7d 100644 --- a/vdrmanager/res/values-de/timers.xml +++ b/vdrmanager/res/values-de/timers.xml @@ -9,5 +9,7 @@ <string name="timer_details_create_title">Erzeuge Timer</string> <string name="timer_details_save_title">Speichere Änderungen</string> <string name="timer_details_delete_title">Lösche Timer</string> - + + <string name="timer_details_add_title">Neuer Timer anlegen</string> + <string name="timer_details_modify_title">Einen Timer änern</string> </resources> diff --git a/vdrmanager/res/values/epg.xml b/vdrmanager/res/values/epg.xml index 3936bf4..f4ecd4f 100644 --- a/vdrmanager/res/values/epg.xml +++ b/vdrmanager/res/values/epg.xml @@ -5,6 +5,7 @@ <string name="epg_list_time_label">What\'s on at</string> <string name="epg_list_time_now">Now</string> <string name="epg_list_time_next">Next</string> + <string name="epg_list_time_adhoc">Ad Hoc</string> <string name="epg_list_channel_spinner">Channel</string> <string name="epg_list_search_label">Search results</string> @@ -24,6 +25,7 @@ <string name="epg_by_search">EPG Search</string> <string name="epg_by_search_param">EPG Search: \'%1$s\'</string> <string name="epg_by_time">EPG by time</string> + <string name="epg_by_time_args">EPG by time: \'%1$s\'</string> <string name="search_epg_hint">Search EPG</string> <string name="epg_search_settings_description">Search VDR EPG</string> diff --git a/vdrmanager/res/values/epg_search_times.xml b/vdrmanager/res/values/epg_search_times.xml index 851935c..5ecf735 100644 --- a/vdrmanager/res/values/epg_search_times.xml +++ b/vdrmanager/res/values/epg_search_times.xml @@ -2,5 +2,6 @@ <resources> <string name="epg_search_times_add">Add time</string> + <string name="epg_search_times_window">Custom times</string> </resources> diff --git a/vdrmanager/res/values/timers.xml b/vdrmanager/res/values/timers.xml index b391c72..b091acd 100644 --- a/vdrmanager/res/values/timers.xml +++ b/vdrmanager/res/values/timers.xml @@ -10,4 +10,6 @@ <string name="timer_details_save_title">Save changes</string> <string name="timer_details_delete_title">Delete timer</string> + <string name="timer_details_add_title">Create a new timer</string> + <string name="timer_details_modify_title">Modify a timer</string> </resources> |