diff options
-rw-r--r-- | vdrmanager/res/layout/epg_event_item.xml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/vdrmanager/res/layout/epg_event_item.xml b/vdrmanager/res/layout/epg_event_item.xml index bf54b10..e4fd6a6 100644 --- a/vdrmanager/res/layout/epg_event_item.xml +++ b/vdrmanager/res/layout/epg_event_item.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/timer_item" android:layout_width="fill_parent" - android:layout_height="fill_parent" android:padding="5dp" + 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" @@ -31,20 +31,21 @@ </LinearLayout> - <LinearLayout android:layout_width="fill_parent" android:padding="3dip" + <LinearLayout android:layout_width="fill_parent" android:padding="3dip" android:paddingBottom="1dip" android:layout_height="wrap_content" android:layout_marginTop="0dip" android:orientation="horizontal"> - <ImageView android:id="@+id/timer_item_state" android:layout_marginRight="5dip" android:layout_marginBottom="2dip" - android:layout_width="wrap_content" android:layout_height="fill_parent" android:background="@android:drawable/list_selector_background" + <ImageView android:id="@+id/timer_item_state" android:layout_marginRight="5dip" + android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_centerVertical="true" android:visibility="gone" /> <TextView android:id="@+id/timer_item_shorttext" android:textAppearance="?android:textAppearanceSmall" - android:text="timer_short_text" android:ellipsize="end" android:background="@android:drawable/list_selector_background" - android:layout_alignLeft="@id/timer_item_title" android:layout_width="wrap_content" android:layout_weight="1" + 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:background="@android:drawable/list_selector_background" + <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"/> |