FairEmail/app/src/main/res/xml/shortcuts.xml

30 lines
1.2 KiB
XML

<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:enabled="false"
android:icon="@drawable/ic_shortcut_refresh"
android:shortcutId="refresh"
android:shortcutShortLabel="@string/shortcut_refresh">
<intent
android:action="eu.faircode.email.REFRESH"
android:targetClass="eu.faircode.email.ActivityMain"
android:targetPackage="eu.faircode.email" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
<shortcut
android:enabled="true"
android:icon="@drawable/ic_shortcut_edit"
android:shortcutId="compose"
android:shortcutShortLabel="@string/shortcut_compose">
<intent
android:action="android.intent.action.VIEW"
android:targetClass="eu.faircode.email.ActivityCompose"
android:targetPackage="eu.faircode.email" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
<share-target android:targetClass="eu.faircode.email.ActivityMain">
<category android:name="eu.faircode.email.TEXT_SHARE_TARGET" />
<data android:mimeType="text/plain" />
</share-target>
</shortcuts>