diff options
author | Scott Jackson <daneren2005@gmail.com> | 2016-03-24 17:56:38 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2016-03-24 17:56:38 -0700 |
commit | 79a92bd6f401aef9095b48e5e47570b7c1b1159e (patch) | |
tree | 1fe9f500c0eb1ef4d76b2abe587012ffbdcb6ffa /app/src/main/res | |
parent | b0b312e89217fa0bd582370a0a97e2f2eb50549c (diff) | |
download | dsub-79a92bd6f401aef9095b48e5e47570b7c1b1159e.tar.gz dsub-79a92bd6f401aef9095b48e5e47570b7c1b1159e.tar.bz2 dsub-79a92bd6f401aef9095b48e5e47570b7c1b1159e.zip |
Fixes #554: Add option for heads up notifications
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/settings_playback.xml | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6b38f337..ee4af53c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -470,6 +470,8 @@ <string name="settings.shuffle_by_album.false">Shuffle all songs together</string> <string name="settings.casting_stream_original">Stream original</string> <string name="settings.casting_stream_original_summary">Stream original files where supported by cast device</string> + <string name="settings.heads_up_notification">Heads Up Notifications (5.0+)</string> + <string name="settings.heads_up_notification_summary">Show playing notifications as Heads Up notifications (Android Lollipop+ only)</string> <string name="shuffle.title">Shuffle By</string> <string name="shuffle.startYear">Start Year:</string> diff --git a/app/src/main/res/xml/settings_playback.xml b/app/src/main/res/xml/settings_playback.xml index a4ea443e..91b0435b 100644 --- a/app/src/main/res/xml/settings_playback.xml +++ b/app/src/main/res/xml/settings_playback.xml @@ -41,6 +41,12 @@ android:defaultValue="false"/> <CheckBoxPreference + android:title="@string/settings.heads_up_notification" + android:summary="@string/settings.heads_up_notification_summary" + android:key="headsUpNotification" + android:defaultValue="false"/> + + <CheckBoxPreference android:title="@string/settings.play_now_after" android:summary="@string/settings.play_now_after_summary" android:key="playNowAfter" |