summaryrefslogtreecommitdiff
path: root/vdrmanager/res
diff options
context:
space:
mode:
Diffstat (limited to 'vdrmanager/res')
-rw-r--r--vdrmanager/res/layout/epg_event_item.xml14
-rw-r--r--vdrmanager/res/layout/no_connection.xml44
2 files changed, 39 insertions, 19 deletions
diff --git a/vdrmanager/res/layout/epg_event_item.xml b/vdrmanager/res/layout/epg_event_item.xml
index e4fd6a6..2dbd8a8 100644
--- a/vdrmanager/res/layout/epg_event_item.xml
+++ b/vdrmanager/res/layout/epg_event_item.xml
@@ -3,14 +3,14 @@
android:id="@+id/timer_item" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:padding="5dp" android:paddingBottom="2dp"
android:orientation="vertical">
-
+
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical"
android:background="@android:drawable/list_selector_background"
>
<TextView
android:id="@+id/timer_item_channel"
android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:text="Sky Film" android:textSize="17dip"/>
+ android:layout_height="wrap_content" android:text="Sky Film" android:textSize="17dip"/>
<ProgressBar
android:id="@+id/timer_progress" android:layout_width="fill_parent"
@@ -28,7 +28,7 @@
android:ellipsize="end" android:layout_width="wrap_content" android:background="@android:drawable/list_selector_background"
android:textAppearance="?android:textAppearanceMedium"
android:layout_height="wrap_content" />
-
+
</LinearLayout>
<LinearLayout android:layout_width="fill_parent" android:padding="3dip" android:paddingBottom="1dip"
@@ -40,17 +40,17 @@
android:layout_centerVertical="true" android:visibility="gone" />
<TextView android:id="@+id/timer_item_shorttext" android:textAppearance="?android:textAppearanceSmall"
- android:text="timer_short_text"
+ android:text="timer_short_text"
android:ellipsize="end"
android:layout_width="wrap_content" android:layout_weight="1"
android:layout_height="wrap_content" />
-
+
<TextView android:id="@+id/timer_item_duration"
android:ellipsize="end" android:layout_width="wrap_content" android:gravity="right" android:textSize="13dip"
android:layout_height="wrap_content" android:text="89min"/>
-
+
</LinearLayout>
-
+
<TextView android:id="@+id/event_item_description"
android:layout_width="wrap_content"
android:textAppearance="?android:textAppearanceSmall"
diff --git a/vdrmanager/res/layout/no_connection.xml b/vdrmanager/res/layout/no_connection.xml
index c2a62e2..1a6e5db 100644
--- a/vdrmanager/res/layout/no_connection.xml
+++ b/vdrmanager/res/layout/no_connection.xml
@@ -1,13 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout android:orientation="vertical"
- android:layout_width="fill_parent" android:layout_height="fill_parent"
- xmlns:android="http://schemas.android.com/apk/res/android" android:visibility="gone">
- <LinearLayout android:layout_height="fill_parent" android:gravity="center"
- android:layout_width="fill_parent" android:orientation="horizontal">
- <TextView android:text="@string/no_connection" android:layout_height="wrap_content" android:layout_width="wrap_content" android:textSize="18dip"/>
- <ImageView android:src="@drawable/sad" android:layout_height="wrap_content" android:layout_width="wrap_content"/>
- <Button android:text="@string/no_connection_retry" android:textSize="18dip"
- android:layout_height="wrap_content" android:layout_width="wrap_content"
- android:id="@+id/retry_button" />
- </LinearLayout>
-</LinearLayout>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <LinearLayout
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:gravity="center"
+ android:orientation="horizontal" >
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_connection"
+ android:textSize="18dip" />
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:src="@drawable/sad" />
+
+ <Button
+ android:id="@+id/retry_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_connection_retry"
+ android:textSize="18dip" />
+ </LinearLayout>
+
+</LinearLayout> \ No newline at end of file