summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout
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
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')
-rw-r--r--vdrmanager/res/layout/child_layout.xml3
-rw-r--r--vdrmanager/res/layout/group_layout.xml6
-rw-r--r--vdrmanager/res/layout/vdrmanager.xml96
3 files changed, 77 insertions, 28 deletions
diff --git a/vdrmanager/res/layout/child_layout.xml b/vdrmanager/res/layout/child_layout.xml
index 6819fea..8ea125a 100644
--- a/vdrmanager/res/layout/child_layout.xml
+++ b/vdrmanager/res/layout/child_layout.xml
@@ -6,6 +6,7 @@
android:layout_height="40dip" android:text="Channel" android:gravity="center_vertical|left"
android:paddingLeft="15dip" android:paddingRight="5dip"
android:textColor="#ffffffff" android:background="@android:drawable/list_selector_background"
- android:textSize="17dip"/>
+ android:textStyle="bold"
+ android:textAppearance="?android:textAppearanceMedium"/>
</LinearLayout>
diff --git a/vdrmanager/res/layout/group_layout.xml b/vdrmanager/res/layout/group_layout.xml
index 825a8e4..4553ae3 100644
--- a/vdrmanager/res/layout/group_layout.xml
+++ b/vdrmanager/res/layout/group_layout.xml
@@ -1,10 +1,12 @@
<LinearLayout android:id="@+id/LinearLayout01"
android:layout_width="fill_parent" android:layout_height="40dip"
xmlns:android="http://schemas.android.com/apk/res/android">
-
+<!-- -->
<TextView android:id="@+id/channel_name" android:layout_width="fill_parent"
android:layout_height="40dip" android:text="Groups" android:gravity="center_vertical|left"
android:paddingLeft="35dip" android:paddingRight="5dip"
+ android:textColor="#BDBDBD"
android:textStyle="bold"
- android:textSize="16dip"/>
+ android:textAppearance="?android:textAppearanceMedium"
+ />
</LinearLayout>
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>