Redesign the header component to be more aligned with M3 guidelines. This includes moving the divider to the top when reasonable, using a smaller font size, and using a tinted coloration to separate itself from the list contents.
42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
app:title="@string/set_content">
|
|
<PreferenceCategory app:title="@string/set_music"
|
|
app:layout="@layout/item_bare_header">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:key="@string/set_key_observing"
|
|
app:summary="@string/set_observing_desc"
|
|
app:title="@string/set_observing" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="true"
|
|
app:key="@string/set_key_exclude_non_music"
|
|
app:summary="@string/set_exclude_non_music_desc"
|
|
app:title="@string/set_exclude_non_music" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
|
app:key="@string/set_key_separators"
|
|
app:summary="@string/set_separators_desc"
|
|
app:title="@string/set_separators" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:defaultValue="false"
|
|
app:key="@string/set_key_hide_collaborators"
|
|
app:summary="@string/set_hide_collaborators_desc"
|
|
app:title="@string/set_hide_collaborators" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory app:title="@string/set_images">
|
|
|
|
<org.oxycblt.auxio.settings.ui.IntListPreference
|
|
app:defaultValue="@integer/cover_mode_media_store"
|
|
app:entries="@array/entries_cover_mode"
|
|
app:entryValues="@array/values_cover_mode"
|
|
app:key="@string/set_key_cover_mode"
|
|
app:title="@string/set_cover_mode" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |