aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authoravm99963 <me@avm99963.com>2020-09-15 20:29:42 +0200
committeravm99963 <me@avm99963.com>2020-09-15 22:29:21 +0200
commite9b82d2c36cd4f546c30b5964d762972f920042a (patch)
tree70602d49923a6f5260d11d6597c6db2182e9e337 /app/src/main/res/xml
parentc303ca3e0c1bae25a770c4fc7f680310f0eee237 (diff)
downloaddsub-e9b82d2c36cd4f546c30b5964d762972f920042a.tar.gz
dsub-e9b82d2c36cd4f546c30b5964d762972f920042a.tar.bz2
dsub-e9b82d2c36cd4f546c30b5964d762972f920042a.zip
Add the option to display MediaStyle notifications
Android now has the capability of displaying MediaStyle notifications which are better aligned with the Material Design standards and blend better into the OS than custom notifications. This commit adds an option in the Playback section to show notifications using the MediaStyle style.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/settings_playback.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/settings_playback.xml b/app/src/main/res/xml/settings_playback.xml
index fb3501f0..f2e76b4c 100644
--- a/app/src/main/res/xml/settings_playback.xml
+++ b/app/src/main/res/xml/settings_playback.xml
@@ -46,6 +46,12 @@
android:key="headsUpNotification"
android:defaultValue="false"/>
+ <CheckBoxPreference
+ android:title="@string/settings.media_style_notification"
+ android:summary="@string/settings.media_style_notification_summary"
+ android:key="mediaStyleNotification"
+ android:defaultValue="false"/>
+
<ListPreference
android:title="@string/settings.song_press_action"
android:key="songPressAction"