diff options
author | saqura <saqura@saqura.xyz> | 2016-04-02 21:37:05 +0200 |
---|---|---|
committer | saqura <saqura@saqura.xyz> | 2016-04-02 21:37:05 +0200 |
commit | 65bb7d9911acfc03cb2ef786c857ebcc5fb45677 (patch) | |
tree | a2ff54d53635efb4dd247161e2977675b5ac5054 /app/src/main/res/xml | |
parent | 13d0a3570b3634da777a791e89008ad7cef5bd29 (diff) | |
download | AntennaPod-65bb7d9911acfc03cb2ef786c857ebcc5fb45677.zip |
Add option to pick lock screen playback buttons
This adds the option to pick which playback buttons to prioritise on the
notification. This allows choosing the playback buttons on the lock
screen. The default playback buttons have not changed and are still set
to play/pause (this is always displayed) and skip.
Note: This commit raises the minimum sdk version from 10 to 11!
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 93df4e3e0..e40de7c46 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -55,6 +55,14 @@ android:key="prefPersistNotify" android:summary="@string/pref_persistNotify_sum" android:title="@string/pref_persistNotify_title"/> + <com.afollestad.materialdialogs.prefs.MaterialMultiSelectListPreference + android:entries="@array/prioritised_notification_buttons_options" + android:entryValues="@array/prioritised_notification_buttons_values" + android:defaultValue="@array/prioritised_notification_buttons_default_values" + android:title="@string/pref_prioritised_notification_buttons_title" + android:key="prefPrioritisedNotificationButtons" + android:summary="@string/pref_prioritised_notification_buttons_sum" + app:useStockLayout="true"/> <de.danoeh.antennapod.preferences.SwitchCompatPreference android:defaultValue="true" android:enabled="true" |