add missing shortcuts.xml. D'oh!

This commit is contained in:
Adrian Ulrich 2017-08-11 21:51:58 +02:00
parent 2b36ff3114
commit 35668a5c3f

30
res/xml/shortcuts.xml Normal file
View File

@ -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>