Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-05-05 18:29:53 +0300
committerStefan Niedermann <info@niedermann.it>2020-05-05 18:29:53 +0300
commit04642e6b6484ce840b609d2bc8f1b64a9be3f6c5 (patch)
tree7f7fbad396f819d0bc65b293ae39f242a381be18 /app/src/main/res/xml
parent0713472943d03055828987d2c1c3e8ad5939e461 (diff)
Fix shortcuts in dev builds
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/shortcuts.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/app/src/main/res/xml/shortcuts.xml b/app/src/main/res/xml/shortcuts.xml
index 5c8a4f81..2a04f9d5 100644
--- a/app/src/main/res/xml/shortcuts.xml
+++ b/app/src/main/res/xml/shortcuts.xml
@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
+<shortcuts xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools">
<shortcut
- android:shortcutId="it.niedermann.owncloud.notes"
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"
- android:shortcutLongLabel="@string/shortcut_create_long">
+ tools:targetApi="n_mr1">
<intent
android:action="android.intent.action.CREATE_DOCUMENT"
- android:targetPackage="it.niedermann.owncloud.notes"
- android:targetClass="it.niedermann.owncloud.notes.android.activity.EditNoteActivity" />
+ android:targetClass="it.niedermann.owncloud.notes.android.activity.EditNoteActivity"
+ android:targetPackage="it.niedermann.owncloud.notes" />
<categories android:name="android.shortcut.conversation" />
</shortcut>
</shortcuts> \ No newline at end of file