diff options
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/xml/security_preferences.xml | 18 |
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 |