aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml/data_saving_mode_preferences.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-09-27 08:02:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-09-27 08:02:10 +0000
commit62a457a868a5441483cbce8de7ec43db106d880d (patch)
tree0e731315219554bbad3fd5483a71a3ab256416d6 /app/src/main/res/xml/data_saving_mode_preferences.xml
parentc4f8c91944fc1a0a4e919f8f2f0870ecbb2a09fb (diff)
downloadinfinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar.gz
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar.bz2
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar.lz
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar.xz
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.tar.zst
infinity-for-reddit-62a457a868a5441483cbce8de7ec43db106d880d.zip
Data Saving Mode is available.
Diffstat (limited to 'app/src/main/res/xml/data_saving_mode_preferences.xml')
-rw-r--r--app/src/main/res/xml/data_saving_mode_preferences.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/xml/data_saving_mode_preferences.xml b/app/src/main/res/xml/data_saving_mode_preferences.xml
new file mode 100644
index 00000000..1f66892f
--- /dev/null
+++ b/app/src/main/res/xml/data_saving_mode_preferences.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <ListPreference
+ app:defaultValue="0"
+ app:key="data_saving_mode"
+ android:title="@string/settings_data_saving_mode"
+ app:entries="@array/settings_data_saving_mode"
+ app:entryValues="@array/settings_data_saving_mode_values"
+ app:useSimpleSummaryProvider="true" />
+
+</PreferenceScreen> \ No newline at end of file