Partial Find on Page implementation. Fix crash on SSLCertificateError for API <...
[PrivacyBrowser.git] / app / src / main / res / menu / webview_options_menu.xml
index d380a060227aa65b0a15f725058c5235da9daf52..8dee5b1d2ff5856f7a01ca9841bcde076355f22f 100644 (file)
@@ -28,7 +28,7 @@
         android:id="@+id/toggleJavaScript"
         android:title="@string/javascript"
         android:orderInCategory="10"
-        app:showAsAction="always" />
+        app:showAsAction="ifRoom" />
 
     <item
         android:id="@+id/toggleFirstPartyCookies"
         android:orderInCategory="80"
         app:showAsAction="never" />
 
+    <item
+        android:id="@+id/fontSize"
+        android:title="@string/font_size"
+        android:orderInCategory="90"
+        app:showAsAction="never" >
+
+        <menu>
+            <group android:checkableBehavior="single">
+                <item
+                    android:id="@+id/fontSizeFiftyPercent"
+                    android:title="@string/fifty_percent"
+                    android:orderInCategory="91"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeSeventyFivePercent"
+                    android:title="@string/seventy_five_percent"
+                    android:orderInCategory="92"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeOneHundredPercent"
+                    android:title="@string/one_hundred_percent"
+                    android:orderInCategory="93"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeOneHundredTwentyFivePercent"
+                    android:title="@string/one_hundred_twenty_five_percent"
+                    android:orderInCategory="94"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeOneHundredFiftyPercent"
+                    android:title="@string/one_hundred_fifty_percent"
+                    android:orderInCategory="95"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeOneHundredSeventyFivePercent"
+                    android:title="@string/one_hundred_seventy_five_percent"
+                    android:orderInCategory="96"
+                    app:showAsAction="never" />
+
+                <item
+                    android:id="@+id/fontSizeTwoHundredPercent"
+                    android:title="@string/two_hundred_percent"
+                    android:orderInCategory="97"
+                    app:showAsAction="never" />
+            </group>
+        </menu>
+    </item>
+
+    <item
+        android:id="@+id/find_on_page"
+        android:title="@string/find_on_page"
+        android:orderInCategory="100"
+        app:showAsAction="never|collapseActionView" />
+
     <item
         android:id="@+id/share"
         android:title="@string/share"
-        android:orderInCategory="90"
+        android:orderInCategory="110"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/addToHomescreen"
         android:title="@string/add_to_home_screen"
-        android:orderInCategory="100"
+        android:orderInCategory="120"
+        app:showAsAction="never" />
+
+    <item
+        android:id="@+id/print"
+        android:title="@string/print"
+        android:orderInCategory="130"
         app:showAsAction="never" />
 
     <item
         android:id="@+id/refresh"
         android:title="@string/refresh"
-        android:orderInCategory="110"
+        android:orderInCategory="140"
         app:showAsAction="never" />
 </menu>