diff options
author | stefan-niedermann <info@niedermann.it> | 2019-05-06 17:43:37 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2019-05-06 17:43:37 +0300 |
commit | 4d4d342b03e9a741b5791a75d2c91e90f9bf5395 (patch) | |
tree | 60f39fdf760952bc846131ef3996a06aaf7e364a /app/src/main/res/xml | |
parent | b0d23abdc8579e998a7f5244efb62eff616d7094 (diff) |
#66 Shortcuts for create operation
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/shortcuts.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml new file mode 100644 index 000000000..23e992243 --- /dev/null +++ b/app/src/main/res/xml/shortcuts.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"> + <shortcut + android:shortcutId="it.niedermann.nextcloud.deck" + android:enabled="true" + android:icon="@drawable/ic_add_grey_24dp" + android:shortcutShortLabel="@string/simple_create" + android:shortcutLongLabel="@string/create_card"> + <intent + android:action="android.intent.action.VIEW" + android:targetPackage="it.niedermann.nextcloud.deck" + android:targetClass="it.niedermann.nextcloud.deck.ui.EditActivity"> + <extra android:name="localId" android:value="-1" /> + <extra android:name="boardId" android:value="-1" /> + <extra android:name="stackId" android:value="-1" /> + </intent> + <categories android:name="android.shortcut.conversation" /> + </shortcut> +</shortcuts>
\ No newline at end of file |