mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-01 20:32:19 +00:00
Add preference categories and move the import button to preferences
This commit is contained in:
parent
6672c18399
commit
317e42ed4c
4 changed files with 50 additions and 31 deletions
|
@ -2,26 +2,39 @@
|
|||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:title="@string/settings">
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_night_mode"
|
||||
android:title="@string/pref_night_mode"
|
||||
android:summary="@string/pref_night_mode_description"/>
|
||||
<PreferenceCategory
|
||||
android:title="Appearance">
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_night_mode"
|
||||
android:title="@string/pref_night_mode"
|
||||
android:summary="@string/pref_night_mode_description"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_issuer"
|
||||
android:title="@string/pref_issuers"
|
||||
android:summary="@string/pref_issuers_description"/>
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="pref_issuer"
|
||||
android:title="@string/pref_issuers"
|
||||
android:summary="@string/pref_issuers_description"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference
|
||||
android:key="pref_slots"
|
||||
android:title="Key slots"
|
||||
android:summary="Manage the list of keys that can decrypt the database"/>
|
||||
<PreferenceCategory
|
||||
android:title="Security">
|
||||
<Preference
|
||||
android:key="pref_slots"
|
||||
android:title="Key slots"
|
||||
android:summary="Manage the list of keys that can decrypt the database"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<Preference
|
||||
android:key="pref_export"
|
||||
android:title="Export"
|
||||
android:summary="Export the database"/>
|
||||
<PreferenceCategory
|
||||
android:title="Tools">
|
||||
<Preference
|
||||
android:key="pref_import"
|
||||
android:title="Import"
|
||||
android:summary="Import a database"/>
|
||||
<Preference
|
||||
android:key="pref_export"
|
||||
android:title="Export"
|
||||
android:summary="Export the database"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue