diff options
author | lado <herrlado@gmail.com> | 2011-10-20 14:39:34 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-20 14:39:34 +0200 |
commit | 3b452963b56e2d50fc03a3a66cabd973b4789665 (patch) | |
tree | 5975193a555765152601f1d1a6c3760fe2f002f4 /vdrmanager/res/layout | |
parent | 437f9d29198fd7160ef7ed23eb782a5bc4a54da0 (diff) | |
parent | 0342f25d24a2a2534c26e7588aac6eba00d0950a (diff) | |
download | vdr-manager-3b452963b56e2d50fc03a3a66cabd973b4789665.tar.gz vdr-manager-3b452963b56e2d50fc03a3a66cabd973b4789665.tar.bz2 |
Merge branch 'master' of ssh://projects.vdr-developer.org/vdr-manager
Diffstat (limited to 'vdrmanager/res/layout')
-rw-r--r-- | vdrmanager/res/layout/epg_event_item.xml | 15 | ||||
-rw-r--r-- | vdrmanager/res/layout/header_item.xml | 8 | ||||
-rw-r--r-- | vdrmanager/res/layout/timer_detail.xml | 47 |
3 files changed, 44 insertions, 26 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"/> diff --git a/vdrmanager/res/layout/header_item.xml b/vdrmanager/res/layout/header_item.xml new file mode 100644 index 0000000..0ca07d6 --- /dev/null +++ b/vdrmanager/res/layout/header_item.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" +android:text="Header" +android:layout_margin="2dip" android:paddingLeft="4dip" android:paddingRight="4dip" +android:background="#444444" +android:textAppearance="?android:textAppearanceMedium" +android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/header_item"/> + diff --git a/vdrmanager/res/layout/timer_detail.xml b/vdrmanager/res/layout/timer_detail.xml index 0aa5da7..1374e68 100644 --- a/vdrmanager/res/layout/timer_detail.xml +++ b/vdrmanager/res/layout/timer_detail.xml @@ -3,6 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:orientation="vertical"> <ScrollView @@ -18,23 +19,18 @@ android:orientation="vertical"> <TextView - android:id="@+id/timer_detail_channel_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textStyle="bold" + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="@string/timer_detail_channel_title"/> <EditText android:id="@+id/timer_detail_channel" android:layout_width="fill_parent" android:layout_height="wrap_content" - android:editable="false"/> + android:enabled="false" + /> <TextView - android:id="@+id/timer_detail_title_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textStyle="bold" + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="@string/timer_detail_title_title"/> <EditText @@ -43,9 +39,7 @@ android:layout_height="wrap_content"/> <TextView - android:id="@+id/timer_detail_start_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" android:text="@string/timer_detail_start_title"/> <LinearLayout @@ -68,10 +62,8 @@ </LinearLayout> <TextView - android:id="@+id/timer_detail_end_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/timer_detail_end_title"/> + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_end_title"/> <EditText android:id="@+id/timer_detail_end" @@ -89,11 +81,28 @@ </ScrollView> +<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" > + + <Button + android:id="@+id/timer_details_cancel" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@android:string/cancel"/> + + <Button + android:id="@+id/timer_details_modify" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:visibility="gone" + android:text="@string/timer_details_save_title"/> + + <Button android:id="@+id/timer_details_save" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" android:text="@string/timer_details_create_title"/> + + </LinearLayout> </LinearLayout> |