Adapt main screen to new design
This commit is contained in:
parent
020a50533c
commit
14f6e5ad93
1 changed files with 14 additions and 19 deletions
|
@ -7,6 +7,14 @@
|
||||||
app:persistent="false"
|
app:persistent="false"
|
||||||
app:title="@string/settings_backup" />
|
app:title="@string/settings_backup" />
|
||||||
|
|
||||||
|
<androidx.preference.Preference
|
||||||
|
app:allowDividerAbove="true"
|
||||||
|
app:fragment="com.stevesoltys.seedvault.settings.AppStatusFragment"
|
||||||
|
app:icon="@drawable/ic_apps"
|
||||||
|
app:key="backup_status"
|
||||||
|
app:title="@string/settings_backup_status_title"
|
||||||
|
tools:summary="Last backup: Never" />
|
||||||
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
app:dependency="backup"
|
app:dependency="backup"
|
||||||
app:icon="@drawable/ic_storage"
|
app:icon="@drawable/ic_storage"
|
||||||
|
@ -21,25 +29,12 @@
|
||||||
app:summary="@string/settings_auto_restore_summary"
|
app:summary="@string/settings_auto_restore_summary"
|
||||||
app:title="@string/settings_auto_restore_title" />
|
app:title="@string/settings_auto_restore_title" />
|
||||||
|
|
||||||
<androidx.preference.PreferenceCategory
|
<androidx.preference.SwitchPreferenceCompat
|
||||||
app:key="category_app_data_backup"
|
app:defaultValue="true"
|
||||||
app:title="@string/settings_category_app_data_backup">
|
app:dependency="backup"
|
||||||
|
app:key="backup_apk"
|
||||||
<androidx.preference.Preference
|
app:summary="@string/settings_backup_apk_summary"
|
||||||
app:fragment="com.stevesoltys.seedvault.settings.AppStatusFragment"
|
app:title="@string/settings_backup_apk_title" />
|
||||||
app:icon="@drawable/ic_apps"
|
|
||||||
app:key="backup_status"
|
|
||||||
app:title="@string/settings_backup_status_title"
|
|
||||||
tools:summary="Last backup: Never" />
|
|
||||||
|
|
||||||
<androidx.preference.SwitchPreferenceCompat
|
|
||||||
app:defaultValue="true"
|
|
||||||
app:dependency="backup"
|
|
||||||
app:key="backup_apk"
|
|
||||||
app:summary="@string/settings_backup_apk_summary"
|
|
||||||
app:title="@string/settings_backup_apk_title" />
|
|
||||||
|
|
||||||
</androidx.preference.PreferenceCategory>
|
|
||||||
|
|
||||||
<androidx.preference.Preference
|
<androidx.preference.Preference
|
||||||
app:allowDividerAbove="true"
|
app:allowDividerAbove="true"
|
||||||
|
|
Loading…
Reference in a new issue