114 lines
4.6 KiB
XML
114 lines
4.6 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!--
|
|
Copyright (C) 2010, 2011 Christopher Eby <kreed@kreed.org>
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
-->
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:persistent="true">
|
|
<PreferenceCategory android:title="@string/pref_output">
|
|
<org.kreed.vanilla.VolumePreference
|
|
android:key="volume"
|
|
android:title="@string/volume_title"
|
|
android:summary="@string/volume_summary" />
|
|
<CheckBoxPreference
|
|
android:key="media_button"
|
|
android:title="@string/media_button_title"
|
|
android:summary="@string/media_button_summary"
|
|
android:defaultValue="true" />
|
|
<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" />
|
|
<ListPreference
|
|
android:key="notification_action"
|
|
android:title="@string/notification_action_title"
|
|
android:summary="@string/notification_action_summary"
|
|
android:entries="@array/notification_action_entries"
|
|
android:entryValues="@array/entry_values"
|
|
android:defaultValue="0" />
|
|
<CheckBoxPreference
|
|
android:key="notification_inverted_color"
|
|
android:title="@string/notification_invert_color_title"
|
|
android:summary="@string/notification_invert_color_summary"
|
|
android:defaultValue="false" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/pref_playback_view">
|
|
<ListPreference
|
|
android:key="display_mode"
|
|
android:title="@string/display_mode_title"
|
|
android:summary="@string/display_mode_summary"
|
|
android:entries="@array/display_mode_entries"
|
|
android:entryValues="@array/entry_values"
|
|
android:defaultValue="0" />
|
|
<CheckBoxPreference
|
|
android:key="disable_cover_art"
|
|
android:title="@string/disable_cover_art_title"
|
|
android:summary="@string/disable_cover_art_summary"
|
|
android:defaultValue="false" />
|
|
</PreferenceCategory>
|
|
<PreferenceCategory android:title="@string/pref_song_selector">
|
|
<CheckBoxPreference
|
|
android:key="selector_on_startup"
|
|
android:title="@string/selector_on_startup_title"
|
|
android:summary="@string/selector_on_startup_summary"
|
|
android:defaultValue="false" />
|
|
<CheckBoxPreference
|
|
android:key="controls_in_selector"
|
|
android:title="@string/controls_in_selector_title"
|
|
android:summary="@string/controls_in_selector_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="use_idle_timeout"
|
|
android:title="@string/use_idle_timeout_title"
|
|
android:summary="@string/use_idle_timeout_summary"
|
|
android:defaultValue="false" />
|
|
<org.kreed.vanilla.IdlePreference
|
|
android:key="idle_timeout"
|
|
android:title="@string/idle_timeout_title"
|
|
android:summary="@string/idle_timeout_summary"
|
|
android:dependency="use_idle_timeout" />
|
|
<CheckBoxPreference
|
|
android:key="scrobble"
|
|
android:title="@string/scrobble_title"
|
|
android:defaultValue="true"
|
|
android:summary="@string/scrobble_summary" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|