
Add a new "Detail playback mode" option that allows one to configure what selecting a song will do in an album/artist/genre. This is mostly a clone of the prior setting, just in a new context. Resolves #164.
177 lines
No EOL
6.9 KiB
XML
177 lines
No EOL
6.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_ui">
|
|
|
|
<org.oxycblt.auxio.settings.ui.IntListPreference
|
|
app:defaultValue="@integer/theme_auto"
|
|
app:entries="@array/entries_theme"
|
|
app:entryValues="@array/values_theme"
|
|
app:icon="@drawable/ic_light"
|
|
app:iconSpaceReserved="false"
|
|
app:isPreferenceVisible="@bool/enable_theme_settings"
|
|
app:key="@string/set_key_theme"
|
|
app:entryIcons="@array/icons_theme"
|
|
app:title="@string/set_theme" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
|
app:icon="@drawable/ic_accent"
|
|
app:key="@string/set_key_accent"
|
|
app:title="@string/set_accent" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_black_theme"
|
|
app:summary="@string/set_black_mode_desc"
|
|
app:title="@string/set_black_mode" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_display">
|
|
|
|
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_lib_tabs"
|
|
app:summary="@string/set_lib_tabs_desc"
|
|
app:title="@string/set_lib_tabs" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_show_covers"
|
|
app:summary="@string/set_show_covers_desc"
|
|
app:title="@string/set_show_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:dependency="@string/set_key_show_covers"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_quality_covers"
|
|
app:summary="@string/set_quality_covers_desc"
|
|
app:title="@string/set_quality_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_round_covers"
|
|
app:summary="@string/set_round_covers_desc"
|
|
app:title="@string/set_round_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_alt_notif_action"
|
|
app:summaryOff="@string/set_alt_repeat"
|
|
app:summaryOn="@string/set_alt_shuffle"
|
|
app:title="@string/set_alt_action" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_audio">
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_headset_autoplay"
|
|
app:summary="@string/set_headset_autoplay_desc"
|
|
app:title="@string/set_headset_autoplay" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.IntListPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="@integer/replay_gain_off"
|
|
app:entries="@array/entries_replay_gain"
|
|
app:entryValues="@array/values_replay_gain"
|
|
app:iconSpaceReserved="false"
|
|
app:offValue="@integer/replay_gain_off"
|
|
app:key="@string/set_key_replay_gain"
|
|
app:title="@string/set_replay_gain" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
|
app:allowDividerBelow="false"
|
|
app:dependency="@string/set_key_replay_gain"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_pre_amp"
|
|
app:summary="@string/set_pre_amp_desc"
|
|
app:title="@string/set_pre_amp" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_behavior">
|
|
|
|
<org.oxycblt.auxio.settings.ui.IntListPreference
|
|
app:defaultValue="@integer/play_mode_songs"
|
|
app:entries="@array/entries_library_song_playback_mode"
|
|
app:entryValues="@array/values_library_song_playback_mode"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_library_song_playback_mode"
|
|
app:title="@string/set_library_song_playback_mode"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.IntListPreference
|
|
app:defaultValue="@integer/play_mode_none"
|
|
app:entries="@array/entries_detail_song_playback_mode"
|
|
app:entryValues="@array/values_detail_song_playback_mode"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_detail_song_playback_mode"
|
|
app:title="@string/set_detail_song_playback_mode"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_keep_shuffle"
|
|
app:summary="@string/set_keep_shuffle_desc"
|
|
app:title="@string/set_keep_shuffle" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_rewind_prev"
|
|
app:summary="@string/set_rewind_prev_desc"
|
|
app:title="@string/set_rewind_prev" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_repeat_pause"
|
|
app:summary="@string/set_repeat_pause_desc"
|
|
app:title="@string/set_repeat_pause" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_content">
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_save_state"
|
|
app:summary="@string/set_save_desc"
|
|
app:title="@string/set_save" />
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_reindex"
|
|
app:summary="@string/set_reindex_desc"
|
|
app:title="@string/set_reindex" />
|
|
|
|
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/set_key_music_dirs"
|
|
app:summary="@string/set_dirs_desc"
|
|
app:title="@string/set_dirs" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |