2018-01-07 16:03:02 +01:00
|
|
|
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
|
|
|
|
<shortcut
|
|
|
|
android:shortcutId="sc_new_post"
|
|
|
|
android:enabled="true"
|
|
|
|
android:icon="@drawable/sc_edit"
|
|
|
|
android:shortcutShortLabel="@string/new_post"
|
|
|
|
android:shortcutLongLabel="@string/new_post"
|
|
|
|
android:shortcutDisabledMessage="@string/new_post">
|
|
|
|
<intent
|
|
|
|
android:action="sc_new_post"
|
|
|
|
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 fragments is what the user sees when they
|
|
|
|
launch this shortcut. -->
|
|
|
|
<categories android:name="android.shortcut.conversation" />
|
|
|
|
</shortcut>
|
|
|
|
|
|
|
|
<shortcut
|
|
|
|
android:shortcutId="sc_activities"
|
|
|
|
android:enabled="true"
|
|
|
|
android:icon="@drawable/sc_history"
|
|
|
|
android:shortcutShortLabel="@string/activities"
|
|
|
|
android:shortcutLongLabel="@string/activities"
|
|
|
|
android:shortcutDisabledMessage="@string/activities">
|
|
|
|
<intent
|
|
|
|
android:action="sc_activities"
|
|
|
|
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 fragments is what the user sees when they
|
|
|
|
launch this shortcut. -->
|
|
|
|
<categories android:name="android.shortcut.conversation" />
|
|
|
|
</shortcut>
|
|
|
|
|
|
|
|
<shortcut
|
2018-07-25 01:59:25 +02:00
|
|
|
android:shortcutId="sc_contacts"
|
2018-01-07 16:03:02 +01:00
|
|
|
android:enabled="true"
|
2018-02-07 00:13:42 +01:00
|
|
|
android:icon="@drawable/sc_aspect"
|
2018-07-25 01:59:25 +02:00
|
|
|
android:shortcutShortLabel="@string/contacts"
|
|
|
|
android:shortcutLongLabel="@string/contacts"
|
|
|
|
android:shortcutDisabledMessage="@string/contacts">
|
2018-01-07 16:03:02 +01:00
|
|
|
<intent
|
2018-07-25 01:59:25 +02:00
|
|
|
android:action="sc_contacts"
|
2018-01-07 16:03:02 +01:00
|
|
|
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 fragments is what the user sees when they
|
|
|
|
launch this shortcut. -->
|
|
|
|
<categories android:name="android.shortcut.conversation" />
|
|
|
|
</shortcut>
|
|
|
|
|
|
|
|
<shortcut
|
2018-07-25 01:59:25 +02:00
|
|
|
android:shortcutId="sc_tags"
|
2018-01-07 16:03:02 +01:00
|
|
|
android:enabled="true"
|
|
|
|
android:icon="@drawable/sc_tags"
|
2018-07-25 01:59:25 +02:00
|
|
|
android:shortcutShortLabel="@string/tags"
|
|
|
|
android:shortcutLongLabel="@string/tags"
|
|
|
|
android:shortcutDisabledMessage="@string/tags">
|
2018-01-07 16:03:02 +01:00
|
|
|
<intent
|
2018-07-25 01:59:25 +02:00
|
|
|
android:action="sc_tags"
|
2018-01-07 16:03:02 +01:00
|
|
|
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 fragments is what the user sees when they
|
|
|
|
launch this shortcut. -->
|
|
|
|
<categories android:name="android.shortcut.conversation" />
|
|
|
|
</shortcut>
|
|
|
|
|
|
|
|
</shortcuts>
|
|
|
|
|
|
|
|
|