summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/vdrmanager.xml
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-06 23:55:23 +0200
committerlado <herrlado@gmail.com>2011-10-06 23:55:23 +0200
commit0db278911f3b97569a98bbdd294dea30bcc4ad02 (patch)
tree7a586b104d35a8ab3aabc64460d8055354122faa /vdrmanager/res/layout/vdrmanager.xml
parent24528f410712a25d17e586dd31a0615e2ec86464 (diff)
downloadvdr-manager-0db278911f3b97569a98bbdd294dea30bcc4ad02.tar.gz
vdr-manager-0db278911f3b97569a98bbdd294dea30bcc4ad02.tar.bz2
Better vdr logo and the main screen
Diffstat (limited to 'vdrmanager/res/layout/vdrmanager.xml')
-rw-r--r--vdrmanager/res/layout/vdrmanager.xml96
1 files changed, 71 insertions, 25 deletions
diff --git a/vdrmanager/res/layout/vdrmanager.xml b/vdrmanager/res/layout/vdrmanager.xml
index d4ca7db..b868f38 100644
--- a/vdrmanager/res/layout/vdrmanager.xml
+++ b/vdrmanager/res/layout/vdrmanager.xml
@@ -1,28 +1,74 @@
<?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"/>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent" android:layout_height="fill_parent"
+ android:orientation="vertical" android:padding="10dip">
-<!--
- <ListView
- android:id="@+id/vdrmanager_menu"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/main_logo"/>
--->
+ <ImageView android:id="@+id/main_logo" android:layout_width="fill_parent"
+ android:layout_height="150dip" android:src="@drawable/vdr_logo" android:paddingBottom="10dip" />
- <GridView
- android:id="@+id/vdrmanager_menu"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_below="@id/main_logo"/>
-
-</RelativeLayout>
+ <!-- <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="5dip">
+ <Button android:text="@string/action_menu_channels"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ 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"
+ xmlns:android="http://schemas.android.com/apk/res/android" android:padding="5dip"
+ 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:cacheColorHint="?android:attr/colorBackground"
+ android:background="@android:drawable/list_selector_background"
+ android:textColor="#FFF"
+ />
+
+ <Button android:text="@string/action_menu_timers"
+ xmlns:android="http://schemas.android.com/apk/res/android" android:padding="5dip"
+ 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:cacheColorHint="?android:attr/colorBackground"
+ android:background="@android:drawable/list_selector_background"
+ android:textColor="#FFF" />
+ </LinearLayout>
+ <LinearLayout android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:orientation="horizontal">
+ <Button android:text="@string/action_menu_epg"
+ 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:cacheColorHint="?android:attr/colorBackground"
+ android:padding="5dip"
+ android:background="@android:drawable/list_selector_background"
+ android:textColor="#FFF" />
+
+ <Button android:text="@string/action_menu_search"
+ 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:cacheColorHint="?android:attr/colorBackground"
+ android:background="@android:drawable/list_selector_background"
+ android:padding="5dip"
+ android:textColor="#FFF" />
+
+ <Button android:text="@string/action_menu_wakeup"
+ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_weight="1"
+ 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" />
+ </LinearLayout>
+</LinearLayout>