This repository has been archived on 2026-10-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
vanilla/res/xml/preferences.xml
T
Christopher Eby 6c58ca2d82 Convert default action preference to use integer strings
Might as well break some more preferences while we're at it
2010-04-02 11:00:09 -05:00

58 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:persistent="true">
<PreferenceCategory android:title="@string/pref_output">
<CheckBoxPreference
android:key="headset_only"
android:title="@string/headset_only_title"
android:defaultValue="false"
android:summary="@string/headset_only_summary" />
<CheckBoxPreference
android:key="headset_pause"
android:title="@string/headset_pause_title"
android:defaultValue="true"
android:summary="@string/headset_pause_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_notifications">
<ListPreference
android:key="notification_mode"
android:title="@string/notification_mode_title"
android:summary="@string/notification_mode_summary"
android:entries="@array/notification_mode_entries"
android:entryValues="@array/entry_values"
android:defaultValue="1" />
<CheckBoxPreference
android:key="remote_player"
android:title="@string/remote_player_title"
android:defaultValue="true"
android:summaryOn="@string/remote_player_summary_on"
android:summaryOff="@string/remote_player_summary_off" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_song_selector">
<CheckBoxPreference
android:key="phone_input"
android:title="@string/phone_input_title"
android:summary="@string/phone_input_summary"
android:defaultValue="false" />
<CheckBoxPreference
android:key="filter_suggestions"
android:title="@string/filter_suggestions_title"
android:summary="@string/filter_suggestions_summary"
android:defaultValue="false" />
<ListPreference
android:key="default_action_int"
android:title="@string/default_action_title"
android:summary="@string/default_action_summary"
android:entries="@array/default_action_entries"
android:entryValues="@array/entry_values"
android:defaultValue="0" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/pref_misc">
<CheckBoxPreference
android:key="scrobble"
android:title="@string/scrobble_title"
android:defaultValue="true"
android:summary="@string/scrobble_summary" />
</PreferenceCategory>
</PreferenceScreen>