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

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-03-27 17:47:51 +0300
committerNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2020-03-27 22:42:51 +0300
commiteb9f5607e48333dfdac83daf962f164af8e44cd0 (patch)
treebdef61846065b6a64f80ce72b584650e28fc5d92 /app/src/main/res/menu
parent53c9411460c219d9eae3b918be47c413b221ac05 (diff)
#341 Delete comments
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/res/menu')
-rw-r--r--app/src/main/res/menu/attachment_menu.xml8
-rw-r--r--app/src/main/res/menu/comment_menu.xml13
2 files changed, 17 insertions, 4 deletions
diff --git a/app/src/main/res/menu/attachment_menu.xml b/app/src/main/res/menu/attachment_menu.xml
index 9eba4701b..0d9e85e86 100644
--- a/app/src/main/res/menu/attachment_menu.xml
+++ b/app/src/main/res/menu/attachment_menu.xml
@@ -2,12 +2,12 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
+ android:id="@android:id/copyUrl"
+ android:title="@android:string/copyUrl"
+ app:showAsAction="ifRoom" />
+ <item
android:id="@+id/delete"
android:icon="@drawable/ic_delete_black_24dp"
android:title="@string/simple_delete"
app:showAsAction="ifRoom" />
- <item
- android:id="@android:id/copyUrl"
- android:title="@android:string/copyUrl"
- app:showAsAction="ifRoom" />
</menu>
diff --git a/app/src/main/res/menu/comment_menu.xml b/app/src/main/res/menu/comment_menu.xml
new file mode 100644
index 000000000..26a868de7
--- /dev/null
+++ b/app/src/main/res/menu/comment_menu.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+ <item
+ android:id="@android:id/copy"
+ android:title="@android:string/copy"
+ app:showAsAction="ifRoom" />
+ <item
+ android:id="@+id/delete"
+ android:icon="@drawable/ic_delete_black_24dp"
+ android:title="@string/simple_delete"
+ app:showAsAction="ifRoom" />
+</menu>