diff options
author | lado <herrlado@gmail.com> | 2011-10-06 23:55:23 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-06 23:55:23 +0200 |
commit | 0db278911f3b97569a98bbdd294dea30bcc4ad02 (patch) | |
tree | 7a586b104d35a8ab3aabc64460d8055354122faa /vdrmanager/res | |
parent | 24528f410712a25d17e586dd31a0615e2ec86464 (diff) | |
download | vdr-manager-0db278911f3b97569a98bbdd294dea30bcc4ad02.tar.gz vdr-manager-0db278911f3b97569a98bbdd294dea30bcc4ad02.tar.bz2 |
Better vdr logo and the main screen
Diffstat (limited to 'vdrmanager/res')
-rw-r--r-- | vdrmanager/res/drawable/btn_channels.png | bin | 0 -> 984 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_clock.png | bin | 0 -> 5550 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_epglist.jpg | bin | 0 -> 2272 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_recordings.png | bin | 0 -> 1553 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_search.png | bin | 0 -> 3966 bytes | |||
-rwxr-xr-x | vdrmanager/res/drawable/btn_search_epg.png | bin | 0 -> 3816 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_timer.png | bin | 0 -> 4918 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/btn_wakeup.png | bin | 0 -> 4100 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/epg.png | bin | 2964 -> 0 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/icon.png | bin | 0 -> 18017 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/vdr_logo.jpg | bin | 12240 -> 0 bytes | |||
-rw-r--r-- | vdrmanager/res/drawable/vdr_logo.png | bin | 0 -> 15651 bytes | |||
-rw-r--r-- | vdrmanager/res/layout-land/vdrmanager.xml | 74 | ||||
-rw-r--r-- | vdrmanager/res/layout/child_layout.xml | 3 | ||||
-rw-r--r-- | vdrmanager/res/layout/group_layout.xml | 6 | ||||
-rw-r--r-- | vdrmanager/res/layout/vdrmanager.xml | 96 |
16 files changed, 151 insertions, 28 deletions
diff --git a/vdrmanager/res/drawable/btn_channels.png b/vdrmanager/res/drawable/btn_channels.png Binary files differnew file mode 100644 index 0000000..b1eff10 --- /dev/null +++ b/vdrmanager/res/drawable/btn_channels.png diff --git a/vdrmanager/res/drawable/btn_clock.png b/vdrmanager/res/drawable/btn_clock.png Binary files differnew file mode 100644 index 0000000..f682d6d --- /dev/null +++ b/vdrmanager/res/drawable/btn_clock.png diff --git a/vdrmanager/res/drawable/btn_epglist.jpg b/vdrmanager/res/drawable/btn_epglist.jpg Binary files differnew file mode 100644 index 0000000..e5a6df5 --- /dev/null +++ b/vdrmanager/res/drawable/btn_epglist.jpg diff --git a/vdrmanager/res/drawable/btn_recordings.png b/vdrmanager/res/drawable/btn_recordings.png Binary files differnew file mode 100644 index 0000000..f2af210 --- /dev/null +++ b/vdrmanager/res/drawable/btn_recordings.png diff --git a/vdrmanager/res/drawable/btn_search.png b/vdrmanager/res/drawable/btn_search.png Binary files differnew file mode 100644 index 0000000..b925f3a --- /dev/null +++ b/vdrmanager/res/drawable/btn_search.png diff --git a/vdrmanager/res/drawable/btn_search_epg.png b/vdrmanager/res/drawable/btn_search_epg.png Binary files differnew file mode 100755 index 0000000..c8a2717 --- /dev/null +++ b/vdrmanager/res/drawable/btn_search_epg.png diff --git a/vdrmanager/res/drawable/btn_timer.png b/vdrmanager/res/drawable/btn_timer.png Binary files differnew file mode 100644 index 0000000..b7fe536 --- /dev/null +++ b/vdrmanager/res/drawable/btn_timer.png diff --git a/vdrmanager/res/drawable/btn_wakeup.png b/vdrmanager/res/drawable/btn_wakeup.png Binary files differnew file mode 100644 index 0000000..eda2e95 --- /dev/null +++ b/vdrmanager/res/drawable/btn_wakeup.png diff --git a/vdrmanager/res/drawable/epg.png b/vdrmanager/res/drawable/epg.png Binary files differdeleted file mode 100644 index 50a1992..0000000 --- a/vdrmanager/res/drawable/epg.png +++ /dev/null diff --git a/vdrmanager/res/drawable/icon.png b/vdrmanager/res/drawable/icon.png Binary files differnew file mode 100644 index 0000000..7197eab --- /dev/null +++ b/vdrmanager/res/drawable/icon.png diff --git a/vdrmanager/res/drawable/vdr_logo.jpg b/vdrmanager/res/drawable/vdr_logo.jpg Binary files differdeleted file mode 100644 index bba3a1f..0000000 --- a/vdrmanager/res/drawable/vdr_logo.jpg +++ /dev/null diff --git a/vdrmanager/res/drawable/vdr_logo.png b/vdrmanager/res/drawable/vdr_logo.png Binary files differnew file mode 100644 index 0000000..6d88fa6 --- /dev/null +++ b/vdrmanager/res/drawable/vdr_logo.png diff --git a/vdrmanager/res/layout-land/vdrmanager.xml b/vdrmanager/res/layout-land/vdrmanager.xml new file mode 100644 index 0000000..73dd011 --- /dev/null +++ b/vdrmanager/res/layout-land/vdrmanager.xml @@ -0,0 +1,74 @@ +<?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" android:padding="10dip"> + + <ImageView android:id="@+id/main_logo" android:layout_width="fill_parent" + android:layout_height="90dip" 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" + 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="3dip" + 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="3dip" + 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="3dip" + 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="3dip" + 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="3dip" + 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> 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> |