aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2016-02-02 17:14:27 -0800
committerScott Jackson <daneren2005@gmail.com>2016-02-02 17:14:27 -0800
commit2690b7adfbb883419b027435befc0a8f738dc4c6 (patch)
treef8eafb64e8d6a237c59f6658ba5e0a1f006ed9d2 /app/src/main/res/xml
parent6367446901769c050676fb553f2a1a396facbcf7 (diff)
downloaddsub-2690b7adfbb883419b027435befc0a8f738dc4c6.tar.gz
dsub-2690b7adfbb883419b027435befc0a8f738dc4c6.tar.bz2
dsub-2690b7adfbb883419b027435befc0a8f738dc4c6.zip
Fixes #638 Make gapless playback while casting optional
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/settings.xml5
-rw-r--r--app/src/main/res/xml/settings_cast.xml19
-rw-r--r--app/src/main/res/xml/settings_playback.xml10
3 files changed, 24 insertions, 10 deletions
diff --git a/app/src/main/res/xml/settings.xml b/app/src/main/res/xml/settings.xml
index ac247c8f..a067130a 100644
--- a/app/src/main/res/xml/settings.xml
+++ b/app/src/main/res/xml/settings.xml
@@ -31,4 +31,9 @@
android:title="@string/settings.playback_title"
android:key="playback">
</PreferenceScreen>
+
+ <PreferenceScreen
+ android:title="@string/settings.casting"
+ android:key="cast">
+ </PreferenceScreen>
</PreferenceScreen>
diff --git a/app/src/main/res/xml/settings_cast.xml b/app/src/main/res/xml/settings_cast.xml
new file mode 100644
index 00000000..058255c2
--- /dev/null
+++ b/app/src/main/res/xml/settings_cast.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/settings.casting">
+ <PreferenceCategory
+ android:title="@string/settings.casting">
+
+ <CheckBoxPreference
+ android:title="@string/settings.casting_proxy"
+ android:summary="@string/settings.casting_proxy_summary"
+ android:key="castProxy"
+ android:defaultValue="false"/>
+
+ <CheckBoxPreference
+ android:title="@string/settings.gapless_playback"
+ android:summary="@string/settings.gapless_playback_summary"
+ android:key="castingGaplessPlayback"
+ android:defaultValue="true"/>
+ </PreferenceCategory>
+</PreferenceScreen> \ No newline at end of file
diff --git a/app/src/main/res/xml/settings_playback.xml b/app/src/main/res/xml/settings_playback.xml
index 3c505b6e..a4ea443e 100644
--- a/app/src/main/res/xml/settings_playback.xml
+++ b/app/src/main/res/xml/settings_playback.xml
@@ -59,16 +59,6 @@
</PreferenceCategory>
<PreferenceCategory
- android:title="@string/settings.casting">
-
- <CheckBoxPreference
- android:title="@string/settings.casting_proxy"
- android:summary="@string/settings.casting_proxy_summary"
- android:key="castProxy"
- android:defaultValue="false"/>
- </PreferenceCategory>
-
- <PreferenceCategory
android:title="@string/settings.replay_gain">
<CheckBoxPreference