aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-09-03 08:57:12 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-09-03 08:57:12 +0000
commit0559176a8b2064de134cbe9a725dc027da6694d1 (patch)
tree5c359f3e57affbaee71d4643972263b1ef414b56 /app/src/main/res/xml
parentc37d372b8154e5eaffbd5618e636528c50ed191b (diff)
downloadinfinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar.gz
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar.bz2
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar.lz
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar.xz
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.tar.zst
infinity-for-reddit-0559176a8b2064de134cbe9a725dc027da6694d1.zip
New options: App Lock and App Lock Timeout.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/security_preferences.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml
index 636f1798..d1f2fbc2 100644
--- a/app/src/main/res/xml/security_preferences.xml
+++ b/app/src/main/res/xml/security_preferences.xml
@@ -11,4 +11,22 @@
app:title="@string/settings_secure_mode_title"
app:summary="@string/settings_secure_mode_summary" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="app_lock"
+ app:icon="@drawable/ic_outline_lock_24dp"
+ app:title="@string/settings_app_lock_title"
+ app:summary="@string/settings_app_lock_summary" />
+
+ <ListPreference
+ app:defaultValue="600000"
+ app:entries="@array/settings_app_lock_timeout"
+ app:entryValues="@array/settings_app_lock_timeout_values"
+ app:key="app_lock_timeout"
+ app:icon="@drawable/ic_outline_access_time_24dp"
+ app:title="@string/settings_app_lock_timeout_title"
+ app:useSimpleSummaryProvider="true" />
+
+
+
</PreferenceScreen> \ No newline at end of file