diff options
author | lado <herrlado@gmail.com> | 2011-10-20 03:56:18 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-20 03:56:18 +0200 |
commit | 42e35f1360576c913022b4d15f95d25fca9bf11b (patch) | |
tree | 7c7b1858d02a9f1cf28ba3e0850586192b630837 /vdrmanager | |
parent | 0e6c33a16df7f196840b2c36abf54b957e94ff18 (diff) | |
download | vdr-manager-42e35f1360576c913022b4d15f95d25fca9bf11b.tar.gz vdr-manager-42e35f1360576c913022b4d15f95d25fca9bf11b.tar.bz2 |
timer is now edited on alertdialog
Diffstat (limited to 'vdrmanager')
-rw-r--r-- | vdrmanager/res/layout/timer_detail.xml | 47 |
1 files changed, 28 insertions, 19 deletions
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> |