
Add a toggle for edge-to-edge mode. Normally we would want to enable edge-to-edge by default (in fact, we still do). However, some phones (once again, samsung) don't provide Auxio with actual window insets. As a result, we need to add a toggle so that it can be disabled on busted devices. Did you know that even when Auxio has it's edge-to-edge functionality busted, Samsung Music works just fine? Very interesting. Resolves #149.
175 lines
No EOL
6.3 KiB
XML
175 lines
No EOL
6.3 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.pref.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="KEY_THEME2"
|
|
app:title="@string/set_theme" />
|
|
|
|
<Preference
|
|
app:icon="@drawable/ic_accent"
|
|
app:key="auxio_accent2"
|
|
app:title="@string/set_accent" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_BLACK_THEME"
|
|
app:summary="@string/set_black_mode_desc"
|
|
app:title="@string/set_black_mode" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_edge"
|
|
app:summary="@string/set_edge_to_edge_desc"
|
|
app:title="@string/set_edge_to_edge" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
app:layout="@layout/item_header"
|
|
app:title="@string/set_display">
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_lib_tabs"
|
|
app:summary="@string/set_lib_tabs_desc"
|
|
app:title="@string/set_lib_tabs" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_SHOW_COVERS"
|
|
app:summary="@string/set_show_covers_desc"
|
|
app:title="@string/set_show_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:dependency="KEY_SHOW_COVERS"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_QUALITY_COVERS"
|
|
app:summary="@string/set_quality_covers_desc"
|
|
app:title="@string/set_quality_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:dependency="KEY_SHOW_COVERS"
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_round_covers"
|
|
app:summary="@string/set_round_covers_desc"
|
|
app:title="@string/set_round_covers" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="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.pref.M3SwitchPreference
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_headset_autoplay"
|
|
app:summary="@string/set_headset_autoplay_desc"
|
|
app:title="@string/set_headset_autoplay" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.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:key="auxio_replay_gain"
|
|
app:title="@string/set_replay_gain" />
|
|
|
|
<Preference
|
|
app:allowDividerBelow="false"
|
|
app:dependency="auxio_replay_gain"
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_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.pref.IntListPreference
|
|
app:defaultValue="@integer/play_mode_songs"
|
|
app:entries="@array/entries_song_playback_mode"
|
|
app:entryValues="@array/values_song_playback_mode"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_SONG_PLAY_MODE2"
|
|
app:title="@string/set_song_mode"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_KEEP_SHUFFLE"
|
|
app:summary="@string/set_keep_shuffle_desc"
|
|
app:title="@string/set_keep_shuffle" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="true"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_PREV_REWIND"
|
|
app:summary="@string/set_rewind_prev_desc"
|
|
app:title="@string/set_rewind_prev" />
|
|
|
|
<org.oxycblt.auxio.settings.pref.M3SwitchPreference
|
|
app:allowDividerBelow="false"
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="KEY_LOOP_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="auxio_save_state"
|
|
app:summary="@string/set_save_desc"
|
|
app:title="@string/set_save" />
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_reindex"
|
|
app:summary="@string/set_reindex_desc"
|
|
app:title="@string/set_reindex" />
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="auxio_excluded_dirs"
|
|
app:summary="@string/set_excluded_desc"
|
|
app:title="@string/set_excluded" />
|
|
|
|
</PreferenceCategory>
|
|
</PreferenceScreen> |