summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorpeakvalleytech <peakvalleytech@gmail.com>2021-04-23 20:04:10 +0200
committerByteHamster <info@bytehamster.com>2021-04-23 20:10:39 +0200
commit04ff51bd6768884cd638bd2b8969a13aa17b05d2 (patch)
treecb5e118cf898dedfc3259622304c93a8e8678bda /app/src/main/res/layout
parent7623100bee9d8f7a7d852eafebea15c89e4fb179 (diff)
downloadAntennaPod-04ff51bd6768884cd638bd2b8969a13aa17b05d2.zip
New feed update interval or time dialog
Co-authored-by: Fivel Rangel <fivel10@hotmail.com> Co-authored-by: ByteHamster <info@bytehamster.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/feed_refresh_dialog.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/app/src/main/res/layout/feed_refresh_dialog.xml b/app/src/main/res/layout/feed_refresh_dialog.xml
new file mode 100644
index 000000000..02b49a6c6
--- /dev/null
+++ b/app/src/main/res/layout/feed_refresh_dialog.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RadioGroup
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/radioGroup"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="16dp">
+
+ <RadioButton
+ android:id="@+id/intervalRadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/feed_refresh_interval"/>
+
+ <Spinner
+ android:id="@+id/spinner"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:visibility="gone" />
+
+ <RadioButton
+ android:id="@+id/timeRadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/feed_refresh_time" />
+
+ <TimePicker
+ android:id="@+id/timePicker"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:timePickerMode="spinner"
+ android:visibility="gone" />
+
+ <RadioButton
+ android:id="@+id/disableRadioButton"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/feed_refresh_never" />
+</RadioGroup>