ui: redesign headers
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.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:title="@string/set_audio">
|
||||
<PreferenceCategory android:title="@string/set_playback">
|
||||
<PreferenceCategory android:title="@string/set_playback"
|
||||
app:layout="@layout/item_bare_header">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="@string/set_key_headset_autoplay"
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?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">
|
||||
<PreferenceCategory app:title="@string/set_music"
|
||||
app:layout="@layout/item_bare_header">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
app:title="@string/set_personalize">
|
||||
|
||||
<PreferenceCategory app:title="@string/set_display">
|
||||
<PreferenceCategory app:title="@string/set_display"
|
||||
app:layout="@layout/item_bare_header">
|
||||
|
||||
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
||||
app:key="@string/set_key_home_tabs"
|
||||
|
||||
Reference in New Issue
Block a user