summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res/layout')
-rw-r--r--vdrmanager/res/layout/epg_detail.xml176
-rw-r--r--vdrmanager/res/layout/event_epg_list.xml76
-rw-r--r--vdrmanager/res/layout/time_epg_list.xml6
3 files changed, 152 insertions, 106 deletions
diff --git a/vdrmanager/res/layout/epg_detail.xml b/vdrmanager/res/layout/epg_detail.xml
index 40dcec0..fd67d47 100644
--- a/vdrmanager/res/layout/epg_detail.xml
+++ b/vdrmanager/res/layout/epg_detail.xml
@@ -93,12 +93,39 @@
android:layout_weight="1"
android:padding="5dip" >
- <TextView
- android:id="@+id/epg_detail_description"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:textSize="16dip" >
- </TextView>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/epg_detail_description"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:textSize="16dip" >
+ </TextView>
+
+ <View style="@style/Line" />
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal" >
+
+ <ImageView
+ android:id="@+id/audio_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_volume_small" />
+
+ <TextView
+ android:id="@+id/epg_detail_audio"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:text="" />
+ </LinearLayout>
+ </LinearLayout>
</ScrollView>
<TextView
@@ -111,72 +138,73 @@
android:layout_width="fill_parent"
android:layout_height="4sp" />
- <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/root"
- android:stretchColumns="*"
- style="@android:style/ButtonBar">
-
- <TableRow android:layout_margin="0dip"
- android:id="@+id/first_row">
- <ImageButton
- android:id="@+id/epg_event_livetv"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center_horizontal"
- android:layout_weight="1"
- android:background="@android:drawable/list_selector_background"
- android:src="@drawable/tv"
- android:text="@string/epg_eent_livetv_text" />
-
- <ImageButton
- android:id="@+id/epg_event_imdb"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:drawable/list_selector_background"
- android:src="@drawable/imdb"
- android:text="@string/epg_event_imdb_text" />
-
- <ImageButton
- android:id="@+id/epg_event_omdb"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:drawable/list_selector_background"
- android:src="@drawable/omdb"
- android:text="@string/epg_event_omdb_text" />
-
-
- <ImageButton
- android:id="@+id/epg_event_tmdb"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="@android:drawable/list_selector_background"
- android:src="@drawable/tmdb"
- android:text="@string/epg_event_tmdb_text" />
-
- <ImageButton
- android:id="@+id/epg_event_create_timer"
- style="?android:attr/buttonStyleSmall"
- android:layout_width="0dip"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center_horizontal"
- android:layout_weight="1"
- android:background="@android:drawable/list_selector_background"
- android:src="@drawable/timer"
- android:text="@string/epg_event_create_timer_text" />
-
-</TableRow>
- </TableLayout>
+ <TableLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/root"
+ style="@android:style/ButtonBar"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:stretchColumns="*" >
+
+ <TableRow
+ android:id="@+id/first_row"
+ android:layout_margin="0dip" >
+
+ <ImageButton
+ android:id="@+id/epg_event_livetv"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
+ android:layout_weight="1"
+ android:background="@android:drawable/list_selector_background"
+ android:src="@drawable/tv"
+ android:text="@string/epg_eent_livetv_text" />
+
+ <ImageButton
+ android:id="@+id/epg_event_imdb"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@android:drawable/list_selector_background"
+ android:src="@drawable/imdb"
+ android:text="@string/epg_event_imdb_text" />
+
+ <ImageButton
+ android:id="@+id/epg_event_omdb"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@android:drawable/list_selector_background"
+ android:src="@drawable/omdb"
+ android:text="@string/epg_event_omdb_text" />
+
+ <ImageButton
+ android:id="@+id/epg_event_tmdb"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:background="@android:drawable/list_selector_background"
+ android:src="@drawable/tmdb"
+ android:text="@string/epg_event_tmdb_text" />
+
+ <ImageButton
+ android:id="@+id/epg_event_create_timer"
+ style="?android:attr/buttonStyleSmall"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
+ android:layout_weight="1"
+ android:background="@android:drawable/list_selector_background"
+ android:src="@drawable/timer"
+ android:text="@string/epg_event_create_timer_text" />
+ </TableRow>
+ </TableLayout>
<!--
<ImageButton
android:id="@+id/epg_event_share"
@@ -184,7 +212,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
android:layout_gravity="center_horizontal"
- android:layout_centerHorizontal="true"
+ android:layout_centerHorizontal="true"
android:background="@android:drawable/list_selector_background"
style="?android:attr/buttonStyleSmall"
android:text="@string/epg_event_share_text"/>
@@ -198,7 +226,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
- android:layout_centerHorizontal="true" android:layout_weight="1"
+ android:layout_centerHorizontal="true" android:layout_weight="1"
android:background="@android:drawable/list_selector_background"
style="?android:attr/buttonStyleSmall"
android:text="@string/epg_event_create_timer_text"/>
diff --git a/vdrmanager/res/layout/event_epg_list.xml b/vdrmanager/res/layout/event_epg_list.xml
index ac75055..6c26b4a 100644
--- a/vdrmanager/res/layout/event_epg_list.xml
+++ b/vdrmanager/res/layout/event_epg_list.xml
@@ -5,61 +5,78 @@
android:layout_height="fill_parent"
android:orientation="vertical" >
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+ <RelativeLayout
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical" >
-
+ android:layout_height="wrap_content" >
+
<LinearLayout
android:id="@+id/whatson_time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
android:orientation="horizontal" >
-
- <Spinner
- android:id="@+id/epg_list_channel_spinner"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_marginTop="3dip"
- android:prompt="@string/epg_list_channel_spinner" />
+ <Spinner
+ android:id="@+id/epg_list_channel_spinner"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="3dip"
+ android:layout_weight="1"
+ android:prompt="@string/epg_list_channel_spinner" />
<ImageView
- android:clickable="true"
- android:background="@android:drawable/list_selector_background"
- android:layout_centerHorizontal="true"
- android:layout_gravity="center_horizontal"
android:id="@+id/switch_epg_view"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
style="?android:attr/buttonStyleSmall"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
+ android:background="@android:drawable/list_selector_background"
+ android:clickable="true"
android:src="@drawable/ic_menu_revert" />
- </LinearLayout>
+ </LinearLayout>
<ListView
android:id="@+id/whatson_list"
android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_alignParentTop="true"
+ android:layout_height="wrap_content"
+ android:layout_above="@+id/channel_info"
android:layout_alignWithParentIfMissing="true"
- android:layout_below="@id/epg_list_channel_spinner"
+ android:layout_below="@+id/whatson_time"
android:layout_centerHorizontal="true"
android:cacheColorHint="?android:attr/colorBackground" />
- <TextView
- android:id="@+id/epg_list_search_label"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:id="@+id/channel_info"
+ android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="@string/epg_list_search_label" />
- </LinearLayout>
+ android:layout_alignParentBottom="true"
+ android:background="@drawable/back"
+ android:orientation="horizontal"
+ android:layout_marginTop="4dp"
+ android:padding="2dp" >
+
+ <ImageView
+ android:id="@+id/audio_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/ic_volume_small" />
+
+ <TextView
+ android:id="@+id/channel_audio"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="5dp"
+ android:text="" />
+ </LinearLayout>
+ </RelativeLayout>
<LinearLayout
android:id="@+id/no_connection_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- android:orientation="vertical">
+ android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
@@ -86,4 +103,5 @@
android:textSize="18dip" />
</LinearLayout>
</LinearLayout>
+
</ViewFlipper> \ No newline at end of file
diff --git a/vdrmanager/res/layout/time_epg_list.xml b/vdrmanager/res/layout/time_epg_list.xml
index e7c0322..3274adb 100644
--- a/vdrmanager/res/layout/time_epg_list.xml
+++ b/vdrmanager/res/layout/time_epg_list.xml
@@ -26,9 +26,9 @@
<ImageView
android:id="@+id/epg_list_times"
style="?android:attr/buttonStyleSmall"
- android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:background="@android:drawable/list_selector_background"
android:clickable="true"
@@ -46,7 +46,7 @@
android:id="@+id/switch_epg_view"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal"
android:background="@android:drawable/list_selector_background"