Add an option to customize whether a song should play from its artist, its album, or all songs when selected.
88 lines
3.2 KiB
XML
88 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<PreferenceCategory
|
|
android:title="@string/setting_ui"
|
|
android:layout="@layout/item_header">
|
|
<ListPreference
|
|
app:key="KEY_THEME"
|
|
android:title="@string/setting_theme"
|
|
android:icon="@drawable/ic_day"
|
|
android:entries="@array/theme_entries"
|
|
android:entryValues="@array/theme_values"
|
|
app:defaultValue="AUTO"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<Preference
|
|
app:key="KEY_ACCENT"
|
|
android:title="@string/setting_accent"
|
|
android:icon="@drawable/ic_accent"
|
|
app:summary="@string/setting_accent_unknown" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/setting_display"
|
|
android:layout="@layout/item_header">
|
|
|
|
<ListPreference
|
|
app:key="KEY_LIBRARY_DISPLAY_MODE"
|
|
android:title="@string/setting_lib_display"
|
|
android:icon="@drawable/ic_artist"
|
|
app:entries="@array/lib_display_entries"
|
|
app:entryValues="@array/lib_display_values"
|
|
app:defaultValue="SHOW_ARTISTS"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="KEY_COLOR_NOTIF"
|
|
android:title="@string/setting_color_notif"
|
|
app:summary="@string/setting_color_desc"
|
|
app:iconSpaceReserved="false"
|
|
app:defaultValue="true" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="KEY_ALT_NOTIF_ACTION"
|
|
android:title="@string/setting_use_alt_action"
|
|
app:iconSpaceReserved="false"
|
|
app:summaryOn="@string/setting_use_alt_shuffle"
|
|
app:summaryOff="@string/setting_use_alt_loop"
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/setting_playback"
|
|
android:layout="@layout/item_header">
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="KEY_AUDIO_FOCUS"
|
|
android:title="@string/setting_playback_audio_focus"
|
|
app:iconSpaceReserved="false"
|
|
app:defaultValue="true"
|
|
app:summary="@string/setting_playback_focus_desc" />
|
|
|
|
<SwitchPreferenceCompat
|
|
app:key="KEY_PLUG_MGT"
|
|
android:title="@string/setting_playback_plug_mgt"
|
|
app:iconSpaceReserved="false"
|
|
app:defaultValue="true"
|
|
app:allowDividerBelow="false"
|
|
app:summary="@string/setting_playback_plug_mgt_desc" />
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/setting_behavior"
|
|
android:layout="@layout/item_header">
|
|
|
|
<ListPreference
|
|
app:key="KEY_SONG_PLAY_MODE"
|
|
android:title="@string/setting_behavior_song_play"
|
|
app:defaultValue="ALL_SONGS"
|
|
app:entries="@array/song_playback_mode_entries"
|
|
app:entryValues="@array/song_playback_mode_values"
|
|
app:iconSpaceReserved="false"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |