diff options
Diffstat (limited to 'vdrmanager/res/layout')
-rw-r--r-- | vdrmanager/res/layout/channel_list.xml | 2 | ||||
-rw-r--r-- | vdrmanager/res/layout/epg_detail.xml | 7 | ||||
-rw-r--r-- | vdrmanager/res/layout/vdr_list_add_delete.xml | 34 | ||||
-rw-r--r-- | vdrmanager/res/layout/vdrlist.xml | 12 | ||||
-rw-r--r-- | vdrmanager/res/layout/vdrmanager.xml | 11 |
5 files changed, 58 insertions, 8 deletions
diff --git a/vdrmanager/res/layout/channel_list.xml b/vdrmanager/res/layout/channel_list.xml index a632b48..e73eea6 100644 --- a/vdrmanager/res/layout/channel_list.xml +++ b/vdrmanager/res/layout/channel_list.xml @@ -15,6 +15,8 @@ android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:cacheColorHint="?android:attr/colorBackground" /> + <TextView android:id="@android:id/empty" android:layout_width="wrap_content" + android:layout_height="wrap_content" android:text="Empty set" /> </LinearLayout> <LinearLayout android:orientation="vertical" diff --git a/vdrmanager/res/layout/epg_detail.xml b/vdrmanager/res/layout/epg_detail.xml index fd6ed22..2bc40cf 100644 --- a/vdrmanager/res/layout/epg_detail.xml +++ b/vdrmanager/res/layout/epg_detail.xml @@ -115,7 +115,8 @@ android:layout_height="wrap_content" android:id="@+id/root" android:stretchColumns="*" - android:background="#000000"> + style="@android:style/ButtonBar"> + <TableRow android:layout_margin="0dip" android:id="@+id/first_row"> <ImageButton @@ -133,7 +134,7 @@ <ImageButton android:id="@+id/epg_event_imdb" style="?android:attr/buttonStyleSmall" - android:layout_width="0dip" + android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="1" android:background="@android:drawable/list_selector_background" @@ -143,7 +144,7 @@ <ImageButton android:id="@+id/epg_event_create_timer" style="?android:attr/buttonStyleSmall" - android:layout_width="0dip" + android:layout_width="0dip" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_gravity="center_horizontal" diff --git a/vdrmanager/res/layout/vdr_list_add_delete.xml b/vdrmanager/res/layout/vdr_list_add_delete.xml new file mode 100644 index 0000000..7fcc2be --- /dev/null +++ b/vdrmanager/res/layout/vdr_list_add_delete.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res/de.ub0r.android.callmeter" + android:layout_height="fill_parent" android:layout_width="fill_parent"> + + <LinearLayout android:id="@+id/item_add" android:padding="4dip" + android:layout_alignParentBottom="true" android:layout_width="fill_parent" + android:layout_height="wrap_content" android:orientation="horizontal" + android:gravity="right|center_vertical" + style="@android:style/ButtonBar" + > + <TextView android:layout_width="wrap_content" android:text="@string/new_vdr" + android:layout_height="wrap_content" + android:layout_marginRight="4dip" + android:textAppearance="?android:textAppearanceMedium" + /> + <ImageButton android:id="@+id/add_item" android:layout_width="wrap_content" + android:layout_height="wrap_content" style="@style/PlusButton" /> + </LinearLayout> + <RelativeLayout android:layout_width="fill_parent" + android:layout_height="fill_parent" android:layout_above="@id/item_add"> + <ListView android:id="@id/android:list" android:layout_width="fill_parent" + android:layout_height="fill_parent" android:drawSelectorOnTop="false" + android:scrollingCache="true" android:fastScrollEnabled="true" + android:choiceMode="singleChoice" /> + + <TextView android:id="@android:id/empty" android:layout_width="fill_parent" + android:gravity="center" + android:padding="20dip" + android:textAppearance="?android:textAppearanceMedium" + android:layout_height="wrap_content" android:text="@string/no_vdr" /> + </RelativeLayout> + +</RelativeLayout>
\ No newline at end of file diff --git a/vdrmanager/res/layout/vdrlist.xml b/vdrmanager/res/layout/vdrlist.xml new file mode 100644 index 0000000..d04df91 --- /dev/null +++ b/vdrmanager/res/layout/vdrlist.xml @@ -0,0 +1,12 @@ +<?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"> + + <ListView android:id="@android:id/list" android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <TextView android:id="@android:id/empty" android:layout_width="wrap_content" + android:layout_height="wrap_content" android:text="Empty set" /> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/res/layout/vdrmanager.xml b/vdrmanager/res/layout/vdrmanager.xml index 0857771..bbbae38 100644 --- a/vdrmanager/res/layout/vdrmanager.xml +++ b/vdrmanager/res/layout/vdrmanager.xml @@ -4,6 +4,7 @@ android:orientation="vertical" android:padding="10dip"> <ImageView android:id="@+id/main_logo" android:layout_width="fill_parent" + android:clickable="true" android:layout_height="80dip" android:src="@drawable/vdr_logo" android:padding="10dip" /> <!-- <ListView android:id="@+id/vdrmanager_menu" android:layout_width="fill_parent" @@ -23,7 +24,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:drawableTop="@drawable/btn_epglist" android:layout_width="wrap_content" android:id="@+id/action_menu_epg" android:layout_height="wrap_content" - android:textAppearance="?android:textAppearanceSmall" android:layout_weight="1" + android:layout_weight="1" android:cacheColorHint="?android:attr/colorBackground" android:background="@android:drawable/list_selector_background" android:textColor="#FFF" /> @@ -37,7 +38,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:drawableTop="@drawable/btn_recordings" android:layout_width="wrap_content" android:id="@+id/action_menu_recordings" android:layout_height="wrap_content" - android:textAppearance="?android:textAppearanceSmall" android:layout_weight="1" + android:layout_weight="1" android:cacheColorHint="?android:attr/colorBackground" android:background="@android:drawable/list_selector_background" android:textColor="#FFF" @@ -47,7 +48,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:drawableTop="@drawable/btn_timer" android:layout_width="wrap_content" android:id="@+id/action_menu_timers" android:layout_height="wrap_content" - android:textAppearance="?android:textAppearanceSmall" android:layout_weight="1" + android:layout_weight="1" android:cacheColorHint="?android:attr/colorBackground" android:background="@android:drawable/list_selector_background" android:textColor="#FFF" /> @@ -62,7 +63,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:drawableTop="@drawable/btn_search" android:layout_width="wrap_content" android:id="@+id/action_menu_search" android:layout_height="wrap_content" - android:textAppearance="?android:textAppearanceSmall" android:layout_weight="1" + android:layout_weight="1" android:cacheColorHint="?android:attr/colorBackground" android:background="@android:drawable/list_selector_background" @@ -73,7 +74,7 @@ android:padding="5dip" android:drawableTop="@drawable/btn_wakeup" android:layout_width="wrap_content" android:id="@+id/action_menu_wakeup" android:layout_height="wrap_content" - android:textAppearance="?android:textAppearanceSmall" + android:cacheColorHint="?android:attr/colorBackground" android:background="@android:drawable/list_selector_background" android:textColor="#FFF" /> |