]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/menu/about_version_options_menu.xml
Add share, copy, and save options to About > Version. https://redmine.stoutner.com...
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / about_version_options_menu.xml
diff --git a/app/src/main/res/menu/about_version_options_menu.xml b/app/src/main/res/menu/about_version_options_menu.xml
new file mode 100644 (file)
index 0000000..c434633
--- /dev/null
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+  Copyright © 2020 Soren Stoutner <soren@stoutner.com>.
+
+  This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+
+  Privacy Browser is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  Privacy Browser is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
+
+<menu
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto">
+
+    <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
+    <item
+        android:id="@+id/copy"
+        android:title="@string/copy_string"
+        android:orderInCategory="10"
+        android:icon="?attr/copyIcon"
+        app:showAsAction="ifRoom" />
+
+    <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
+    <item
+        android:id="@+id/share"
+        android:title="@string/share"
+        android:orderInCategory="20"
+        android:icon="?attr/shareIcon"
+        app:showAsAction="ifRoom" />
+
+    <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
+    <item
+        android:id="@+id/save_text"
+        android:title="@string/save_text"
+        android:orderInCategory="30"
+        android:icon="?attr/saveTextIcon"
+        app:showAsAction="ifRoom" />
+
+    <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
+    <item
+        android:id="@+id/save_image"
+        android:title="@string/save_image"
+        android:orderInCategory="40"
+        android:icon="?attr/saveImageIcon"
+        app:showAsAction="ifRoom" />
+</menu>
\ No newline at end of file