mirror of
https://github.com/gsantner/dandelion
synced 2024-11-14 16:32:08 +01:00
dbbd3cef35
* Remove seperate fragments for both cases * Make use of opoc/SearchOrCustomTextDialog * Basically also removes all fragment swaps * Only two fragments are stream and podselection * Pod logout restarts app * Thus long known Android Supportlib bug can't occur * Fixes #198
73 lines
3.2 KiB
XML
Executable file
73 lines
3.2 KiB
XML
Executable file
<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
|
|
android:shortcutId="sc_contacts"
|
|
android:enabled="true"
|
|
android:icon="@drawable/sc_aspect"
|
|
android:shortcutShortLabel="@string/contacts"
|
|
android:shortcutLongLabel="@string/contacts"
|
|
android:shortcutDisabledMessage="@string/contacts">
|
|
<intent
|
|
android:action="sc_contacts"
|
|
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_tags"
|
|
android:enabled="true"
|
|
android:icon="@drawable/sc_tags"
|
|
android:shortcutShortLabel="@string/tags"
|
|
android:shortcutLongLabel="@string/tags"
|
|
android:shortcutDisabledMessage="@string/tags">
|
|
<intent
|
|
android:action="sc_tags"
|
|
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>
|
|
|
|
|