diff options
Diffstat (limited to 'vdrmanager/app/src/main/res/layout/timer_detail.xml')
-rw-r--r-- | vdrmanager/app/src/main/res/layout/timer_detail.xml | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/vdrmanager/app/src/main/res/layout/timer_detail.xml b/vdrmanager/app/src/main/res/layout/timer_detail.xml new file mode 100644 index 0000000..b74d54e --- /dev/null +++ b/vdrmanager/app/src/main/res/layout/timer_detail.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + 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 + android:id="@+id/timer_detail_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5"> + + <LinearLayout + android:id="@+id/timer_detail_layout" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + 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:enabled="false" + /> + + <TextView + 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 + android:id="@+id/timer_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + + <TextView + 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_day_title"/> + + + <Button + android:id="@+id/timer_detail_day" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + <TextView + 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_repeat_title"/> + + + <Button + android:id="@+id/timer_detail_repeat" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/never" + android:editable="false"/> + + </LinearLayout> + + + </LinearLayout> + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + + + <TextView + 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"/> + + <Button + android:id="@+id/timer_detail_start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="20:34" + android:editable="false"/> + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + <TextView + 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"/> + + <Button + android:id="@+id/timer_detail_end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + + </LinearLayout> + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" android:id="@+id/timer_block"> + <TextView android:width="80dp" android:text="@string/timer_detail_use_vps" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + <CheckBox android:id="@+id/timer_detail_vps" android:layout_height="wrap_content" android:layout_width="wrap_content"/> + </LinearLayout> + + + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <TextView android:width="80dp" android:text="@string/timer_detail_priority" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + + <EditText android:layout_height="wrap_content" android:numeric="integer" android:id="@+id/timer_detail_priority" android:layout_width="wrap_content" android:hint="@string/timer_detail_priority"/> + + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <TextView android:width="80dp" android:text="@string/timer_detail_lifetime" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + + <EditText android:layout_height="wrap_content" android:numeric="integer" android:id="@+id/timer_detail_lifetime" android:layout_width="wrap_content" android:hint="@string/timer_detail_lifetime_hint"/> + + + </LinearLayout> + + </LinearLayout> + + </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="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@string/timer_details_create_title"/> + + </LinearLayout> + +</LinearLayout> |