]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/menu/webview_options_menu.xml
Add a new Share URL menu entry. https://redmine.stoutner.com/issues/838
[PrivacyBrowserAndroid.git] / app / src / main / res / menu / webview_options_menu.xml
index 4b6b610cd545d536654d25192cbdd11183150a79..3587bf8e6af6784defb52befc792ab51ca244e6c 100644 (file)
@@ -1,22 +1,22 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2015-2022 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+  This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
 
-  Privacy Browser is free software: you can redistribute it and/or modify
+  Privacy Browser Android 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,
+  Privacy Browser Android 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/>. -->
+  along with Privacy Browser Android.  If not, see <http://www.gnu.org/licenses/>. -->
 
 <menu
     xmlns:android="http://schemas.android.com/apk/res/android"
         android:orderInCategory="200"
         app:showAsAction="never" />
 
-    <!-- `android:iconTint` can be used once the minimum API >= 26 instead of including a separate drawable for each theme. -->
     <item
         android:id="@+id/bookmarks"
         android:title="@string/bookmarks"
         android:orderInCategory="300"
-        android:icon="?attr/bookmarksAppBarIcon"
+        android:icon="@drawable/bookmarks"
         app:showAsAction="never" />
 
     <item
-        android:id="@+id/first_party_cookies"
-        android:title="@string/first_party_cookies"
+        android:id="@+id/cookies"
+        android:title="@string/cookies"
         android:orderInCategory="400"
         android:checkable="true"
-        android:icon="@drawable/cookies_disabled_day"
-        app:showAsAction="never" />
-
-    <item
-        android:id="@+id/third_party_cookies"
-        android:title="@string/third_party_cookies"
-        android:orderInCategory="500"
-        android:checkable="true"
+        android:icon="@drawable/cookies_disabled"
         app:showAsAction="never" />
 
     <item
                         android:title="@string/save_url"
                         android:orderInCategory="1201"
                         app:showAsAction="never" />
+
                     <item
                         android:id="@+id/save_archive"
                         android:title="@string/save_archive"
         app:showAsAction="never" >
 
         <menu>
+            <item
+                android:id="@+id/share_message"
+                android:title="@string/share_message"
+                android:orderInCategory="1310"
+                app:showAsAction="never" />
+
             <item
                 android:id="@+id/share_url"
                 android:title="@string/share_url"
-                android:orderInCategory="1310"
+                android:orderInCategory="1320"
                 app:showAsAction="never" />
 
             <item
                 android:id="@+id/open_with_app"
                 android:title="@string/open_with_app"
-                android:orderInCategory="1320"
+                android:orderInCategory="1330"
                 app:showAsAction="never" />
 
             <item
                 android:id="@+id/open_with_browser"
                 android:title="@string/open_with_browser"
-                android:orderInCategory="1330"
+                android:orderInCategory="1340"
                 app:showAsAction="never" />
         </menu>
     </item>
         android:title="@string/add_domain_settings"
         android:orderInCategory="1400"
         app:showAsAction="never" />
-
-    <item
-        android:id="@+id/ad_consent"
-        android:title="@string/ad_consent"
-        android:orderInCategory="1500"
-        app:showAsAction="never" />
 </menu>
\ No newline at end of file