summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/time_dialog.xml
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2021-01-02 16:58:43 +0100
committerByteHamster <info@bytehamster.com>2021-01-02 16:58:43 +0100
commit3ed33794327f547c8892d30958a78770dae56d45 (patch)
tree29095e84b7e8051e6e4bd58e6d7d66578807e614 /app/src/main/res/layout/time_dialog.xml
parentc9635473cb69acfb883f70868f6a8e04670241b1 (diff)
parentd1426f97740103d548db007e3ad2c918d90f8bf0 (diff)
downloadAntennaPod-3ed33794327f547c8892d30958a78770dae56d45.zip
Merge branch 'develop' into folders
Diffstat (limited to 'app/src/main/res/layout/time_dialog.xml')
-rw-r--r--app/src/main/res/layout/time_dialog.xml47
1 files changed, 44 insertions, 3 deletions
diff --git a/app/src/main/res/layout/time_dialog.xml b/app/src/main/res/layout/time_dialog.xml
index 6523bb1be..6b6ab3195 100644
--- a/app/src/main/res/layout/time_dialog.xml
+++ b/app/src/main/res/layout/time_dialog.xml
@@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:gravity="center"
android:padding="16dp">
@@ -52,10 +53,11 @@
<TextView
android:text="00:00:00"
android:layout_gravity="center"
+ android:gravity="center"
android:textSize="32sp"
android:textColor="?android:attr/textColorPrimary"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:id="@+id/time"/>
<Button
@@ -64,6 +66,45 @@
android:layout_height="wrap_content"
android:id="@+id/disableSleeptimerButton"/>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/extendSleepFiveMinutesButton"
+ style="?attr/materialButtonOutlinedStyle"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_weight="1"
+ android:padding="5dp"
+ tools:text="+5 min" />
+
+ <Button
+ android:id="@+id/extendSleepTenMinutesButton"
+ style="?attr/materialButtonOutlinedStyle"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp"
+ android:layout_weight="1"
+ tools:text="+10 min" />
+
+ <Button
+ android:id="@+id/extendSleepTwentyMinutesButton"
+ style="?attr/materialButtonOutlinedStyle"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="4dp"
+ android:layout_marginRight="4dp"
+ android:layout_marginLeft="4dp"
+ android:layout_weight="1"
+ tools:text="+20 min" />
+
+ </LinearLayout>
+
</LinearLayout>
@@ -93,4 +134,4 @@
</LinearLayout>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>