summaryrefslogtreecommitdiff
path: root/vdrmanager/res/layout/child_layout.xml
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-08 00:12:26 +0200
committerlado <herrlado@gmail.com>2011-10-08 00:12:26 +0200
commitf3deabce766d858c284a8e4597fd1686989e44db (patch)
tree9d116142f7da0e344a3ff31dce6827ddd728a878 /vdrmanager/res/layout/child_layout.xml
parent7ab4737ee456bcb37627ed4ef6dd32135c82fbf8 (diff)
downloadvdr-manager-f3deabce766d858c284a8e4597fd1686989e44db.tar.gz
vdr-manager-f3deabce766d858c284a8e4597fd1686989e44db.tar.bz2
provider name along channel name
Diffstat (limited to 'vdrmanager/res/layout/child_layout.xml')
-rw-r--r--vdrmanager/res/layout/child_layout.xml28
1 files changed, 20 insertions, 8 deletions
diff --git a/vdrmanager/res/layout/child_layout.xml b/vdrmanager/res/layout/child_layout.xml
index 8ea125a..1ad4d80 100644
--- a/vdrmanager/res/layout/child_layout.xml
+++ b/vdrmanager/res/layout/child_layout.xml
@@ -1,12 +1,24 @@
<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="Channel" android:gravity="center_vertical|left"
- android:paddingLeft="15dip" android:paddingRight="5dip"
- android:textColor="#ffffffff" android:background="@android:drawable/list_selector_background"
- android:textStyle="bold"
- android:textAppearance="?android:textAppearanceMedium"/>
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ >
+ <LinearLayout android:layout_width="fill_parent"
+ android:background="@android:drawable/list_selector_background"
+ android:layout_height="wrap_content">
+ <TextView android:id="@+id/channel_name"
+ android:layout_width="wrap_content" android:layout_height="wrap_content"
+ android:text="Channel" android:gravity="center_vertical|left"
+ android:paddingLeft="15dip" android:paddingRight="5dip"
+ android:textColor="#ffffffff"
+ android:textStyle="bold" android:maxLines="2"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:layout_weight="2" />
+
+ <TextView android:id="@+id/channel_aux" android:layout_width="40dip"
+ android:layout_height="40dip" android:layout_weight="1" android:text="23"
+ android:gravity="center_vertical|right" android:ellipsize="end"
+ android:layout_marginRight="5dip" android:textColor="#BDBDBD"
+ android:textAppearance="?android:textAppearanceSmall" />
+ </LinearLayout>
</LinearLayout>