diff options
author | peakvalleytech <peakvalleytech@gmail.com> | 2021-04-23 20:04:10 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-04-23 20:10:39 +0200 |
commit | 04ff51bd6768884cd638bd2b8969a13aa17b05d2 (patch) | |
tree | cb5e118cf898dedfc3259622304c93a8e8678bda /app/src/main/res | |
parent | 7623100bee9d8f7a7d852eafebea15c89e4fb179 (diff) | |
download | AntennaPod-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')
-rw-r--r-- | app/src/main/res/layout/feed_refresh_dialog.xml | 39 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences_network.xml | 4 |
2 files changed, 41 insertions, 2 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> diff --git a/app/src/main/res/xml/preferences_network.xml b/app/src/main/res/xml/preferences_network.xml index 0dbd1acee..428c891ad 100644 --- a/app/src/main/res/xml/preferences_network.xml +++ b/app/src/main/res/xml/preferences_network.xml @@ -6,8 +6,8 @@ <PreferenceCategory android:title="@string/automation"> <Preference android:key="prefAutoUpdateIntervall" - android:summary="@string/pref_autoUpdateIntervallOrTime_sum" - android:title="@string/pref_autoUpdateIntervallOrTime_title"/> + android:summary="@string/feed_refresh_sum" + android:title="@string/feed_refresh_title"/> <Preference android:summary="@string/pref_automatic_download_sum" android:key="prefAutoDownloadSettings" |