aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAdrian Ulrich <adrian@blinkenlights.ch>2024-06-23 11:32:06 +0200
committerAdrian Ulrich <adrian@blinkenlights.ch>2024-06-23 11:32:06 +0200
commit38e1761320cd22faa4533d69b0bb3fa9f4f0b20d (patch)
tree0e02630991570a66c8aa43808abf0aaca96ed2d9 /app/src/main/res/xml
downloadvanilla-dpad-master.tar.gz
vanilla-dpad-master.zip
add note about play storegraftedHEADmaster
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/four_long_widget.xml8
-rw-r--r--app/src/main/res/xml/four_square_widget.xml8
-rw-r--r--app/src/main/res/xml/four_white_widget.xml8
-rw-r--r--app/src/main/res/xml/one_cell_widget.xml8
-rw-r--r--app/src/main/res/xml/preference_audio.xml65
-rw-r--r--app/src/main/res/xml/preference_coverart.xml55
-rw-r--r--app/src/main/res/xml/preference_headers.xml60
-rw-r--r--app/src/main/res/xml/preference_library.xml67
-rw-r--r--app/src/main/res/xml/preference_misc.xml67
-rw-r--r--app/src/main/res/xml/preference_notifications.xml38
-rw-r--r--app/src/main/res/xml/preference_playback.xml61
-rw-r--r--app/src/main/res/xml/preference_playlist.xml58
-rw-r--r--app/src/main/res/xml/preference_replaygain.xml67
-rw-r--r--app/src/main/res/xml/preference_shake.xml49
-rw-r--r--app/src/main/res/xml/provider_paths.xml4
-rw-r--r--app/src/main/res/xml/shortcuts.xml30
-rw-r--r--app/src/main/res/xml/widget_d.xml8
-rw-r--r--app/src/main/res/xml/widget_e.xml8
18 files changed, 669 insertions, 0 deletions
diff --git a/app/src/main/res/xml/four_long_widget.xml b/app/src/main/res/xml/four_long_widget.xml
new file mode 100644
index 0000000..d1a637f
--- /dev/null
+++ b/app/src/main/res/xml/four_long_widget.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="250dip"
+ android:minHeight="40dip"
+ android:initialLayout="@layout/four_long_widget"
+ android:previewImage="@drawable/preview_widget_four_long"
+ android:resizeMode="horizontal|vertical" />
diff --git a/app/src/main/res/xml/four_square_widget.xml b/app/src/main/res/xml/four_square_widget.xml
new file mode 100644
index 0000000..b1bc19a
--- /dev/null
+++ b/app/src/main/res/xml/four_square_widget.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="110dip"
+ android:minHeight="110dip"
+ android:initialLayout="@layout/four_square_widget"
+ android:previewImage="@drawable/preview_widget_four_square"
+ android:resizeMode="horizontal|vertical" />
diff --git a/app/src/main/res/xml/four_white_widget.xml b/app/src/main/res/xml/four_white_widget.xml
new file mode 100644
index 0000000..852a46c
--- /dev/null
+++ b/app/src/main/res/xml/four_white_widget.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="250dip"
+ android:minHeight="40dip"
+ android:initialLayout="@layout/four_white_widget"
+ android:previewImage="@drawable/preview_widget_four_white"
+ android:resizeMode="horizontal|vertical" />
diff --git a/app/src/main/res/xml/one_cell_widget.xml b/app/src/main/res/xml/one_cell_widget.xml
new file mode 100644
index 0000000..10f2eeb
--- /dev/null
+++ b/app/src/main/res/xml/one_cell_widget.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="40dip"
+ android:minHeight="40dip"
+ android:initialLayout="@layout/one_cell_widget"
+ android:previewImage="@drawable/preview_widget_one_cell"
+ android:resizeMode="horizontal|vertical" />
diff --git a/app/src/main/res/xml/preference_audio.xml b/app/src/main/res/xml/preference_audio.xml
new file mode 100644
index 0000000..3a28769
--- /dev/null
+++ b/app/src/main/res/xml/preference_audio.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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"
+ xmlns:vanilla="http://schemas.android.com/apk/res-auto"
+ android:persistent="true">
+ <PreferenceScreen
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$EqualizerFragment"
+ android:title="@string/equalizer"
+ android:summary="" />
+ <PreferenceScreen
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$ReplayGainFragment"
+ android:title="@string/replaygain"
+ android:summary="@string/replaygain_summary" />
+ <ch.blinkenlights.android.vanilla.SeekBarPreference
+ android:key="volume_during_ducking"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:title="@string/volume_during_ducking_title"
+ android:defaultValue="50"
+ vanilla:sbpSummaryText="@string/volume_during_ducking_summary"
+ vanilla:sbpSummaryFormat="%s %.0f%%"
+ vanilla:sbpMaxValue="100"
+ vanilla:sbpCheckBoxKey="ignore_audiofocus_loss"
+ vanilla:sbpCheckBoxText="@string/ignore_audiofocus_loss_summary"
+ />
+ <CheckBoxPreference
+ android:key="disable_gapless_playback"
+ android:title="@string/disable_gapless_playback_title"
+ android:summary="@string/disable_gapless_playback_summary"
+ android:defaultValue="false" />
+ <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" />
+ <PreferenceScreen
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$HeadsetLaunchFragment"
+ android:title="@string/headset_launch_title"
+ android:summary="@string/headset_launch_summary" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_coverart.xml b/app/src/main/res/xml/preference_coverart.xml
new file mode 100644
index 0000000..cdcf06a
--- /dev/null
+++ b/app/src/main/res/xml/preference_coverart.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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">
+ <CheckBoxPreference
+ android:key="coverloader_vanilla"
+ android:title="@string/coverloader_vanilla_title"
+ android:summary="@string/coverloader_vanilla_summary"
+ android:defaultValue="true" />
+
+ <CheckBoxPreference
+ android:key="coverloader_shadow"
+ android:title="@string/coverloader_shadow_title"
+ android:summary="@string/coverloader_shadow_summary"
+ android:defaultValue="true" />
+
+ <CheckBoxPreference
+ android:key="coverloader_android"
+ android:title="@string/coverloader_android_title"
+ android:summary="@string/coverloader_android_summary"
+ android:defaultValue="true" />
+
+ <CheckBoxPreference
+ android:key="coverloader_inline"
+ android:title="@string/coverloader_inline_title"
+ android:summary="@string/coverloader_inline_summary"
+ android:defaultValue="true" />
+
+ <CheckBoxPreference
+ android:key="cover_on_lockscreen"
+ android:title="@string/cover_on_lockscreen_title"
+ android:summary="@string/cover_on_lockscreen_summary"
+ android:defaultValue="true" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_headers.xml b/app/src/main/res/xml/preference_headers.xml
new file mode 100644
index 0000000..66cffd1
--- /dev/null
+++ b/app/src/main/res/xml/preference_headers.xml
@@ -0,0 +1,60 @@
+<?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.
+-->
+<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$AudioFragment"
+ android:title="@string/audio" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$PlaybackFragment"
+ android:title="@string/playback_screen" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$LibraryFragment"
+ android:title="@string/library_screen" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$NotificationsFragment"
+ android:title="@string/notifications" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$ShakeFragment"
+ android:title="@string/accelerometer_shake" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$CoverArtFragment"
+ android:title="@string/cover_art" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$MiscFragment"
+ android:title="@string/misc_features" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesMediaLibrary"
+ android:title="@string/media_library" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$PlaylistFragment"
+ android:title="@string/playlists" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesTheme"
+ android:title="@string/theme" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$HelpFragment"
+ android:title="@string/help" />
+ <header
+ android:fragment="ch.blinkenlights.android.vanilla.PreferencesActivity$AboutFragment"
+ android:title="@string/about" />
+</preference-headers>
diff --git a/app/src/main/res/xml/preference_library.xml b/app/src/main/res/xml/preference_library.xml
new file mode 100644
index 0000000..7d5226c
--- /dev/null
+++ b/app/src/main/res/xml/preference_library.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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">
+ <PreferenceScreen
+ android:title="@string/tabs"
+ android:summary="@string/customize_tab_order">
+ <intent
+ android:targetPackage="ch.blinkenlights.android.vanilla"
+ android:targetClass="ch.blinkenlights.android.vanilla.TabOrderActivity" />
+ </PreferenceScreen>
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="default_action_int"
+ android:title="@string/default_action_title"
+ android:entries="@array/default_action_entries"
+ android:entryValues="@array/default_action_entry_values"
+ android:defaultValue="9" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="default_playlist_action"
+ android:title="@string/default_playlist_action_title"
+ android:entries="@array/default_playlist_action_entries"
+ android:entryValues="@array/default_playlist_action_entry_values"
+ android:defaultValue="3" />
+ <CheckBoxPreference
+ android:key="enable_scroll_to_song"
+ android:title="@string/enable_scroll_to_song_title"
+ android:summary="@string/enable_scroll_to_song_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="queue_enable_scroll_to_song"
+ android:title="@string/queue_enable_scroll_to_song_title"
+ android:summary="@string/queue_enable_scroll_to_song_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="jump_to_enqueued_on_play"
+ android:title="@string/jump_to_enqueued_on_play_title"
+ android:summary="@string/jump_to_enqueued_on_play_summary"
+ android:defaultValue="true" />
+ <PreferenceScreen
+ android:title="@string/filebrowser_start"
+ android:summary="@string/customize_filebrowser_start">
+ <intent
+ android:targetPackage="ch.blinkenlights.android.vanilla"
+ android:targetClass="ch.blinkenlights.android.vanilla.FilebrowserStartActivity" />
+ </PreferenceScreen>
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_misc.xml b/app/src/main/res/xml/preference_misc.xml
new file mode 100644
index 0000000..7c4883d
--- /dev/null
+++ b/app/src/main/res/xml/preference_misc.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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"
+ xmlns:vanilla="http://schemas.android.com/apk/res-auto"
+ android:persistent="true">
+ <CheckBoxPreference
+ android:key="disable_lockscreen"
+ android:title="@string/disable_lockscreen_title"
+ android:summary="@string/disable_lockscreen_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="keep_screen_on"
+ android:title="@string/keep_screen_on_title"
+ android:summary="@string/keep_screen_on_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="use_idle_timeout"
+ android:title="@string/use_idle_timeout_title"
+ android:summary="@string/use_idle_timeout_summary"
+ android:defaultValue="false" />
+ <ch.blinkenlights.android.vanilla.IdlePreference
+ android:key="idle_timeout"
+ android:title="@string/idle_timeout_title"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:dependency="use_idle_timeout" />
+ <CheckBoxPreference
+ android:key="double_tap"
+ android:title="@string/double_tap_title"
+ android:summary="@string/double_tap_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="scrobble"
+ android:title="@string/scrobble_title"
+ android:defaultValue="true"
+ android:summary="@string/scrobble_summary" />
+ <CheckBoxPreference
+ android:key="stock_broadcast"
+ android:title="@string/stock_broadcast_title"
+ android:summary="@string/stock_broadcast_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="enable_readahead"
+ android:title="@string/readahead"
+ android:defaultValue="false"
+ android:summary="@string/readahead_summary" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_notifications.xml b/app/src/main/res/xml/preference_notifications.xml
new file mode 100644
index 0000000..a5e71d5
--- /dev/null
+++ b/app/src/main/res/xml/preference_notifications.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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">
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="notification_visibility"
+ android:title="@string/notification_visibility_title"
+ android:entries="@array/notification_visibility_entries"
+ android:entryValues="@array/entry_values"
+ android:defaultValue="0" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="notification_action"
+ android:title="@string/notification_action_title"
+ android:entries="@array/notification_action_entries"
+ android:entryValues="@array/entry_values"
+ android:defaultValue="0" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_playback.xml b/app/src/main/res/xml/preference_playback.xml
new file mode 100644
index 0000000..b5de782
--- /dev/null
+++ b/app/src/main/res/xml/preference_playback.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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">
+ <CheckBoxPreference
+ android:key="playback_on_startup"
+ android:title="@string/playback_on_startup_title"
+ android:summary="@string/playback_on_startup_summary"
+ android:defaultValue="false" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="display_mode"
+ android:title="@string/display_mode_title"
+ android:entries="@array/display_mode_entries"
+ android:entryValues="@array/entry_values"
+ android:defaultValue="2" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="swipe_up_action"
+ android:title="@string/swipe_up_action_title"
+ android:entries="@array/swipe_action_entries"
+ android:entryValues="@array/swipe_action_values"
+ android:defaultValue="Nothing" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="swipe_down_action"
+ android:title="@string/swipe_down_action_title"
+ android:entries="@array/swipe_action_entries"
+ android:entryValues="@array/swipe_action_values"
+ android:defaultValue="Nothing" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="cover_press_action"
+ android:title="@string/cover_press_action_title"
+ android:entries="@array/swipe_action_entries"
+ android:entryValues="@array/swipe_action_values"
+ android:defaultValue="Nothing" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="cover_longpress_action"
+ android:title="@string/cover_longpress_action_title"
+ android:entries="@array/swipe_action_entries"
+ android:entryValues="@array/swipe_action_values"
+ android:defaultValue="Nothing" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_playlist.xml b/app/src/main/res/xml/preference_playlist.xml
new file mode 100644
index 0000000..317f5c3
--- /dev/null
+++ b/app/src/main/res/xml/preference_playlist.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2018 Adrian Ulrich <adrian@blinkenlights.ch>
+
+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"
+ xmlns:vanilla="http://schemas.android.com/apk/res-auto"
+ android:persistent="true">
+ <ch.blinkenlights.android.vanilla.SeekBarPreference
+ android:key="playcounts_autoplaylist"
+ android:negativeButtonText="@null"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:title="@string/autoplaylist_playcounts_title"
+ android:defaultValue="0"
+ vanilla:sbpMaxValue="100"
+ vanilla:sbpSteps="25"
+ vanilla:sbpSummaryText="@string/autoplaylist_playcounts_summary"
+ vanilla:sbpSummaryFormat="@string/autoplaylist_playcounts_fmt"
+ vanilla:sbpSummaryZeroText="@string/autoplaylist_playcounts_disabled"/>
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="playlist_sync_mode"
+ android:title="@string/playlist_sync_mode_title"
+ android:entries="@array/playlist_sync_mode_entries"
+ android:entryValues="@array/playlist_sync_mode_values"
+ android:defaultValue="0" />
+ <PreferenceScreen
+ android:dependency="playlist_sync_mode"
+ android:title="@string/playlist_sync_folder_title"
+ android:summary="@string/playlist_sync_folder_summary">
+ <intent
+ android:targetPackage="ch.blinkenlights.android.vanilla"
+ android:targetClass="ch.blinkenlights.android.vanilla.PlaylistObserverDirActivity" />
+ </PreferenceScreen>
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:dependency="playlist_sync_mode"
+ android:key="playlist_export_relative_paths"
+ android:summary="@string/playlist_export_relative_paths_summary"
+ android:title="@string/playlist_export_relative_paths_title" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_replaygain.xml b/app/src/main/res/xml/preference_replaygain.xml
new file mode 100644
index 0000000..208b4d0
--- /dev/null
+++ b/app/src/main/res/xml/preference_replaygain.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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"
+ xmlns:vanilla="http://schemas.android.com/apk/res-auto"
+ android:persistent="true">
+ <CheckBoxPreference
+ android:key="enable_track_replaygain"
+ android:title="@string/replaygain_track_title"
+ android:summary="@string/replaygain_track_summary"
+ android:defaultValue="false" />
+ <CheckBoxPreference
+ android:key="enable_album_replaygain"
+ android:title="@string/replaygain_album_title"
+ android:summary="@string/replaygain_album_summary"
+ android:defaultValue="false" />
+ <ch.blinkenlights.android.vanilla.SeekBarPreference
+ android:key="replaygain_bump"
+ android:negativeButtonText="@null"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:title="@string/replaygain_bump_title"
+ android:defaultValue="75"
+ vanilla:sbpMaxValue="150"
+ vanilla:sbpSummaryFormat="%s%+.1fdB"
+ vanilla:sbpSummaryValueAddition="-75"
+ vanilla:sbpSummaryValueMultiplication="0.2"
+ />
+ <!-- x0.2 = /5 -->
+ <ch.blinkenlights.android.vanilla.SeekBarPreference
+ android:key="replaygain_untagged_debump"
+ android:negativeButtonText="@null"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:title="@string/replaygain_untagged_debump_title"
+ android:defaultValue="150"
+ vanilla:sbpMaxValue="150"
+ vanilla:sbpSummaryText="@string/replaygain_untagged_debump_summary"
+ vanilla:sbpSummaryFormat="%s %.1fdB"
+ vanilla:sbpSummaryValueAddition="-150"
+ vanilla:sbpSummaryValueMultiplication="0.1" />
+
+ <Preference
+ android:selectable="false"
+ android:title="@string/replaygain_preamp_note_title"
+ android:summary="@string/replaygain_preamp_note_content"
+ />
+
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/preference_shake.xml b/app/src/main/res/xml/preference_shake.xml
new file mode 100644
index 0000000..c49613a
--- /dev/null
+++ b/app/src/main/res/xml/preference_shake.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+Copyright (C) 2012 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"
+ xmlns:vanilla="http://schemas.android.com/apk/res-auto"
+ android:persistent="true">
+ <CheckBoxPreference
+ android:key="enable_shake"
+ android:title="@string/enable_shake_title"
+ android:summary="@string/enable_shake_summary"
+ android:defaultValue="false" />
+ <ch.blinkenlights.android.vanilla.ListPreferenceSummary
+ android:key="shake_action"
+ android:title="@string/shake_action_title"
+ android:entries="@array/swipe_action_entries"
+ android:entryValues="@array/swipe_action_values"
+ android:defaultValue="NextSong"
+ android:dependency="enable_shake" />
+ <!-- Might be nice to show something indicating the current shake force for this preference. -->
+ <ch.blinkenlights.android.vanilla.SeekBarPreference
+ android:key="shake_threshold"
+ android:negativeButtonText="@null"
+ android:dialogLayout="@layout/seekbar_pref"
+ android:title="@string/shake_threshold_title"
+ android:defaultValue="80"
+ vanilla:sbpMaxValue="300"
+ vanilla:sbpSummaryValueMultiplication="0.1"
+ android:dependency="enable_shake" />
+</PreferenceScreen>
diff --git a/app/src/main/res/xml/provider_paths.xml b/app/src/main/res/xml/provider_paths.xml
new file mode 100644
index 0000000..87ec385
--- /dev/null
+++ b/app/src/main/res/xml/provider_paths.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<paths>
+ <root-path name="rootfs" path="." />
+</paths>
diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml
new file mode 100644
index 0000000..f61f2ee
--- /dev/null
+++ b/app/src/main/res/xml/shortcuts.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <shortcut
+ android:enabled="true"
+ android:icon="@drawable/shortcut_play"
+ android:shortcutId="play"
+ android:shortcutDisabledMessage="@string/play"
+ android:shortcutLongLabel="@string/play"
+ android:shortcutShortLabel="@string/play">
+ <intent
+ android:action="ch.blinkenlights.android.vanilla.action.TOGGLE_PLAYBACK"
+ android:targetClass="ch.blinkenlights.android.vanilla.ShortcutPseudoActivity"
+ android:targetPackage="ch.blinkenlights.android.vanilla"/>
+ </shortcut>
+
+ <shortcut
+ android:enabled="true"
+ android:icon="@drawable/shortcut_random"
+ android:shortcutId="random"
+ android:shortcutDisabledMessage="@string/random"
+ android:shortcutLongLabel="@string/random"
+ android:shortcutShortLabel="@string/random">
+ <intent
+ android:action="ch.blinkenlights.android.vanilla.action.RANDOM_MIX_AUTOPLAY"
+ android:targetClass="ch.blinkenlights.android.vanilla.ShortcutPseudoActivity"
+ android:targetPackage="ch.blinkenlights.android.vanilla"/>
+ </shortcut>
+
+</shortcuts>
diff --git a/app/src/main/res/xml/widget_d.xml b/app/src/main/res/xml/widget_d.xml
new file mode 100644
index 0000000..cbe81fb
--- /dev/null
+++ b/app/src/main/res/xml/widget_d.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="110dip"
+ android:minHeight="110dip"
+ android:initialLayout="@layout/widget_d"
+ android:previewImage="@drawable/preview_widget_d"
+ android:resizeMode="horizontal|vertical" />
diff --git a/app/src/main/res/xml/widget_e.xml b/app/src/main/res/xml/widget_e.xml
new file mode 100644
index 0000000..ae10c63
--- /dev/null
+++ b/app/src/main/res/xml/widget_e.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="250dip"
+ android:minHeight="40dip"
+ android:initialLayout="@layout/widget_e"
+ android:previewImage="@drawable/preview_widget_e"
+ android:resizeMode="horizontal|vertical" />