diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-05-05 18:29:53 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-05-05 18:29:53 +0300 |
commit | 04642e6b6484ce840b609d2bc8f1b64a9be3f6c5 (patch) | |
tree | 7f7fbad396f819d0bc65b293ae39f242a381be18 /app/src/dev/res | |
parent | 0713472943d03055828987d2c1c3e8ad5939e461 (diff) |
Fix shortcuts in dev builds
Diffstat (limited to 'app/src/dev/res')
-rw-r--r-- | app/src/dev/res/xml/shortcuts.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/dev/res/xml/shortcuts.xml b/app/src/dev/res/xml/shortcuts.xml new file mode 100644 index 00000000..fcecd23d --- /dev/null +++ b/app/src/dev/res/xml/shortcuts.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools"> + <shortcut + android:enabled="true" + android:icon="@drawable/ic_add_blue_24dp" + android:shortcutId="it.niedermann.owncloud.notes" + android:shortcutLongLabel="@string/shortcut_create_long" + android:shortcutShortLabel="@string/action_create" + tools:targetApi="n_mr1"> + <intent + android:action="android.intent.action.CREATE_DOCUMENT" + android:targetClass="it.niedermann.owncloud.notes.android.activity.EditNoteActivity" + android:targetPackage="it.niedermann.owncloud.notes.dev" /> + <categories android:name="android.shortcut.conversation" /> + </shortcut> +</shortcuts>
\ No newline at end of file |