diff options
Diffstat (limited to 'vdrmanager/res')
-rw-r--r-- | vdrmanager/res/layout/child_layout.xml | 28 |
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> |