diff options
author | lado <herrlado@gmail.com> | 2014-01-02 23:10:53 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2014-01-02 23:10:53 +0100 |
commit | ecc8b1a099892cfacf5c646d17e47ef80f4701f7 (patch) | |
tree | e7fefdf877bc1d6612adb38da09331e1301590cd | |
parent | 0f6eba7ef55e1b7f0bc68f1e515b0757176f120c (diff) | |
download | vdr-manager-ecc8b1a099892cfacf5c646d17e47ef80f4701f7.tar.gz vdr-manager-ecc8b1a099892cfacf5c646d17e47ef80f4701f7.tar.bz2 |
http://projects.vdr-developer.org/issues/1656
-rw-r--r-- | vdrmanager/res/layout-land/vdrmanager.xml | 155 |
1 files changed, 94 insertions, 61 deletions
diff --git a/vdrmanager/res/layout-land/vdrmanager.xml b/vdrmanager/res/layout-land/vdrmanager.xml index 22f777d..a18876d 100644 --- a/vdrmanager/res/layout-land/vdrmanager.xml +++ b/vdrmanager/res/layout-land/vdrmanager.xml @@ -1,63 +1,96 @@ <?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" > + + <LinearLayout android:layout_width="fill_parent" - android:layout_height="fill_parent"> -<LinearLayout - android:layout_width="fill_parent" android:layout_height="fill_parent" - android:orientation="vertical" android:padding="10dip"> - <ImageView android:id="@+id/main_logo" android:layout_width="fill_parent" - android:layout_height="80dip" android:src="@drawable/vdr_logo" android:paddingBottom="5dip" /> - - <!-- <ListView android:id="@+id/vdrmanager_menu" android:layout_width="fill_parent" - android:layout_height="wrap_content" android:layout_below="@id/main_logo"/> --> - - <LinearLayout android:layout_width="fill_parent" - android:layout_height="wrap_content" android:orientation="horizontal" android:padding="3dip"> - <Button android:text="@string/action_menu_channels" - - android:drawableTop="@drawable/btn_channels" android:layout_width="wrap_content" - android:id="@+id/action_menu_channels" android:layout_height="wrap_content" - android:textColor="#FFF" android:layout_weight="1" - android:cacheColorHint="?android:attr/colorBackground" - android:background="@android:drawable/list_selector_background"/> - - - <Button android:text="@string/action_menu_recordings" - android:padding="3dip" - android:drawableTop="@drawable/btn_recordings" android:layout_width="wrap_content" - android:id="@+id/action_menu_recordings" android:layout_height="wrap_content" - android:layout_weight="1" - android:cacheColorHint="?android:attr/colorBackground" - android:background="@android:drawable/list_selector_background" - android:textColor="#FFF" - /> - - <Button - - android:id="@+id/action_menu_timers" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:background="@android:drawable/list_selector_background" - android:cacheColorHint="?android:attr/colorBackground" - android:drawableTop="@drawable/btn_timer" - android:padding="3dip" - android:text="@string/action_menu_timers" - android:textColor="#FFF" /> - - </LinearLayout> - <LinearLayout android:layout_width="fill_parent" - android:layout_height="wrap_content" android:orientation="horizontal"> - - <Button android:text="@string/action_menu_wakeup" - android:layout_weight="1" - android:padding="3dip" - android:drawableTop="@drawable/btn_wakeup" android:layout_width="wrap_content" - android:id="@+id/action_menu_wakeup" android:layout_height="wrap_content" - android:cacheColorHint="?android:attr/colorBackground" - android:background="@android:drawable/list_selector_background" - android:textColor="#FFF" /> - </LinearLayout> - -</LinearLayout> - </ScrollView>
\ No newline at end of file + android:layout_height="fill_parent" + android:orientation="vertical" + android:padding="10dip" > + + <ImageView + android:id="@+id/main_logo" + android:layout_width="fill_parent" + android:layout_height="80dip" + android:paddingBottom="5dip" + 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"/> + --> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:padding="3dip" > + + <Button + android:id="@+id/action_menu_channels" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_channels" + android:text="@string/action_menu_channels" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_recordings" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_recordings" + android:padding="3dip" + android:text="@string/action_menu_recordings" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_timers" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_timer" + android:padding="3dip" + android:text="@string/action_menu_timers" + android:textColor="#FFF" /> + </LinearLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <Button + android:id="@+id/action_menu_epg" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_epglist" + android:text="@string/action_menu_epg" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_wakeup" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_wakeup" + android:padding="3dip" + android:text="@string/action_menu_wakeup" + android:textColor="#FFF" /> + </LinearLayout> + </LinearLayout> + +</ScrollView>
\ No newline at end of file |