Add a View Source activity. https://redmine.stoutner.com/issues/64
[PrivacyBrowser.git] / app / src / main / res / menu / webview_options_menu.xml
index b6af5e02181dda8266a8475f25748d4a1234e978..a468a001224e8c321476332d987d560e9cbe99a9 100644 (file)
         app:showAsAction="never" />
 
     <item
-        android:id="@+id/clear_cookies"
-        android:title="@string/clear_cookies"
+        android:id="@+id/clear_data"
+        android:title="@string/clear_data"
         android:orderInCategory="70"
-        app:showAsAction="never" />
-
-    <item
-        android:id="@+id/clear_dom_storage"
-        android:title="@string/clear_dom_storage"
-        android:orderInCategory="80"
-        app:showAsAction="never" />
+        app:showAsAction="never" >
 
-    <item
-        android:id="@+id/clear_form_data"
-        android:title="@string/clear_form_data"
-        android:orderInCategory="90"
-        app:showAsAction="never" />
+        <menu>
+            <item
+                android:id="@+id/clear_cookies"
+                android:title="@string/clear_cookies"
+                android:orderInCategory="71"
+                app:showAsAction="never" />
+
+            <item
+                android:id="@+id/clear_dom_storage"
+                android:title="@string/clear_dom_storage"
+                android:orderInCategory="72"
+                app:showAsAction="never" />
+
+            <item
+                android:id="@+id/clear_form_data"
+                android:title="@string/clear_form_data"
+                android:orderInCategory="73"
+                app:showAsAction="never" />
+        </menu>
+    </item>
 
     <item
         android:id="@+id/font_size"
         android:title="@string/font_size"
-        android:orderInCategory="100"
+        android:orderInCategory="80"
         app:showAsAction="never" >
 
         <menu>
                 <item
                     android:id="@+id/font_size_twenty_five_percent"
                     android:title="@string/twenty_five_percent"
-                    android:orderInCategory="101"
+                    android:orderInCategory="81"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_fifty_percent"
                     android:title="@string/fifty_percent"
-                    android:orderInCategory="102"
+                    android:orderInCategory="82"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_seventy_five_percent"
                     android:title="@string/seventy_five_percent"
-                    android:orderInCategory="103"
+                    android:orderInCategory="83"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_one_hundred_percent"
                     android:title="@string/one_hundred_percent"
-                    android:orderInCategory="104"
+                    android:orderInCategory="84"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_one_hundred_twenty_five_percent"
                     android:title="@string/one_hundred_twenty_five_percent"
-                    android:orderInCategory="105"
+                    android:orderInCategory="85"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_one_hundred_fifty_percent"
                     android:title="@string/one_hundred_fifty_percent"
-                    android:orderInCategory="106"
+                    android:orderInCategory="86"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_one_hundred_seventy_five_percent"
                     android:title="@string/one_hundred_seventy_five_percent"
-                    android:orderInCategory="107"
+                    android:orderInCategory="87"
                     app:showAsAction="never" />
 
                 <item
                     android:id="@+id/font_size_two_hundred_percent"
                     android:title="@string/two_hundred_percent"
-                    android:orderInCategory="108"
+                    android:orderInCategory="88"
                     app:showAsAction="never" />
             </group>
         </menu>
     <item
         android:id="@+id/display_images"
         android:title="@string/display_images"
-        android:orderInCategory="110"
+        android:orderInCategory="90"
         android:checkable="true"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/share"
         android:title="@string/share"
-        android:orderInCategory="120"
+        android:orderInCategory="100"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/find_on_page"
         android:title="@string/find_on_page"
-        android:orderInCategory="130"
+        android:orderInCategory="110"
         app:showAsAction="never|collapseActionView" />
     <item
         android:id="@+id/print"
         android:title="@string/print"
-        android:orderInCategory="140"
+        android:orderInCategory="120"
+        app:showAsAction="never" />
+
+    <item
+        android:id="@+id/view_source"
+        android:title="@string/view_source"
+        android:orderInCategory="130"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/add_to_homescreen"
         android:title="@string/add_to_home_screen"
-        android:orderInCategory="150"
+        android:orderInCategory="140"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/refresh"
         android:title="@string/refresh"
-        android:orderInCategory="160"
+        android:orderInCategory="150"
         app:showAsAction="never" />
 </menu>
\ No newline at end of file