1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-12 07:11:11 +01:00

app shortcut for Android N

This commit is contained in:
scoute-dich 2017-05-02 20:55:52 +02:00
parent e0a6c79836
commit 7327c279af
10 changed files with 31 additions and 3 deletions

View file

@ -0,0 +1,22 @@
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="shortcut_new_post"
android:enabled="true"
android:icon="@drawable/qc_post_plus"
android:shortcutShortLabel="@string/new_post"
android:shortcutLongLabel="@string/new_post"
android:shortcutDisabledMessage="@string/new_post">
<intent
android:action="app_shortcut"
android:targetPackage="com.github.dfa.diaspora_android"
android:targetClass="com.github.dfa.diaspora_android.activity.MainActivity" />
<!-- If your shortcut is associated with multiple intents, include them
here. The last intent in the list is what the user sees when they
launch this shortcut. -->
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts>