summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/time_dialog.xml
diff options
context:
space:
mode:
authorMartin Fietz <Martin.Fietz@gmail.com>2015-08-09 11:40:46 +0200
committerMartin Fietz <Martin.Fietz@gmail.com>2015-09-05 00:44:47 +0200
commit946d5ef50c109549f2d15160c0345b0b8b2f4d84 (patch)
tree3e3397c8640b03affaaa013afa0f39ecba547727 /app/src/main/res/layout/time_dialog.xml
parentc7d8a1bae890d6ea069d09cfa642dd76f060eec8 (diff)
downloadAntennaPod-946d5ef50c109549f2d15160c0345b0b8b2f4d84.zip
Add options to sleep timer dialog
Diffstat (limited to 'app/src/main/res/layout/time_dialog.xml')
-rw-r--r--app/src/main/res/layout/time_dialog.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/src/main/res/layout/time_dialog.xml b/app/src/main/res/layout/time_dialog.xml
index a42f87781..213d38147 100644
--- a/app/src/main/res/layout/time_dialog.xml
+++ b/app/src/main/res/layout/time_dialog.xml
@@ -33,6 +33,39 @@
</LinearLayout>
<LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:textSize="16sp"
+ android:text="@string/timer_about_to_expire_label"/>
+
+ <CheckBox android:id="@+id/cbShakeToReset"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/shake_to_reset_label"
+ android:checked="true" />
+
+ <CheckBox android:id="@+id/cbVibrate"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/timer_vibration_label"
+ android:checked="true" />
+
+ </LinearLayout>
+
+ </LinearLayout>
+
+ <LinearLayout
style="@android:style/ButtonBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"