2016-09-30 01:08:03 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:title="@string/settings">
|
|
|
|
|
2018-02-13 20:24:00 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="Appearance">
|
2018-05-11 19:38:33 +02:00
|
|
|
<SwitchPreference
|
2018-02-13 20:24:00 +01:00
|
|
|
android:defaultValue="false"
|
2018-04-10 00:45:48 +02:00
|
|
|
android:key="pref_dark_mode"
|
|
|
|
android:title="@string/pref_dark_mode_title"
|
|
|
|
android:summary="@string/pref_dark_mode_summary"/>
|
2016-11-01 23:43:46 +01:00
|
|
|
|
2018-05-11 19:38:33 +02:00
|
|
|
<SwitchPreference
|
2018-02-13 20:24:00 +01:00
|
|
|
android:defaultValue="false"
|
|
|
|
android:key="pref_issuer"
|
2018-02-14 22:09:47 +01:00
|
|
|
android:title="@string/pref_issuer_title"
|
|
|
|
android:summary="@string/pref_issuer_summary"/>
|
2018-02-13 20:24:00 +01:00
|
|
|
</PreferenceCategory>
|
2017-12-10 19:19:48 +01:00
|
|
|
|
2018-02-13 20:24:00 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="Security">
|
2018-05-11 19:38:33 +02:00
|
|
|
<SwitchPreference
|
2018-05-11 19:33:20 +02:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:key="pref_secure_screen"
|
|
|
|
android:title="@string/pref_secure_screen_title"
|
|
|
|
android:summary="@string/pref_secure_screen_summary"/>
|
2018-02-14 22:09:47 +01:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="pref_timeout"
|
|
|
|
android:title="@string/pref_timeout_title"
|
|
|
|
android:summary="@string/pref_timeout_summary"
|
|
|
|
android:inputType="number"
|
|
|
|
android:defaultValue="30"
|
|
|
|
android:dialogTitle="Set number of seconds of inactivity before Aegis locks the database"/>
|
2018-05-14 17:26:17 +02:00
|
|
|
<me.impy.aegis.ui.preferences.SwitchPreference
|
2018-05-14 16:53:27 +02:00
|
|
|
android:key="pref_encryption"
|
|
|
|
android:title="@string/pref_encryption_title"
|
|
|
|
android:summary="@string/pref_encryption_summary"
|
|
|
|
android:persistent="false"/>
|
2018-02-13 20:24:00 +01:00
|
|
|
<Preference
|
|
|
|
android:key="pref_slots"
|
2018-02-14 22:09:47 +01:00
|
|
|
android:title="@string/pref_slots_title"
|
|
|
|
android:summary="@string/pref_slots_summary"/>
|
2018-02-13 20:24:00 +01:00
|
|
|
</PreferenceCategory>
|
2018-02-09 17:31:07 +01:00
|
|
|
|
2018-02-13 20:24:00 +01:00
|
|
|
<PreferenceCategory
|
|
|
|
android:title="Tools">
|
|
|
|
<Preference
|
|
|
|
android:key="pref_import"
|
2018-02-14 22:09:47 +01:00
|
|
|
android:title="@string/pref_import_title"
|
|
|
|
android:summary="@string/pref_import_summary"/>
|
2018-02-13 20:24:00 +01:00
|
|
|
<Preference
|
|
|
|
android:key="pref_export"
|
2018-02-14 22:09:47 +01:00
|
|
|
android:title="@string/pref_export_title"
|
|
|
|
android:summary="@string/pref_export_summary"/>
|
2018-02-13 20:24:00 +01:00
|
|
|
</PreferenceCategory>
|
2017-12-10 19:19:48 +01:00
|
|
|
|
|
|
|
</PreferenceScreen>
|