Temporarially disable Find on Page until the feature is completed.
authorSoren Stoutner <soren@stoutner.com>
Sun, 23 Oct 2016 04:21:12 +0000 (21:21 -0700)
committerSoren Stoutner <soren@stoutner.com>
Sun, 23 Oct 2016 04:21:12 +0000 (21:21 -0700)
app/src/main/java/com/stoutner/privacybrowser/MainWebViewActivity.java
app/src/main/res/menu/webview_options_menu.xml

index ff63632a9f26e8a40d6a7de4d1db5b67807b3aea..982ff2d254c1de5ad9df6e43a2e7a489d22c970d 100644 (file)
@@ -742,11 +742,13 @@ public class MainWebViewActivity extends AppCompatActivity implements Navigation
                 mainWebView.getSettings().setTextZoom(200);
                 return true;
 
+            /*
             case R.id.find_on_page:
                 appBar.setCustomView(R.layout.find_on_page_app_bar);
                 toggleJavaScript.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER);
                 appBar.invalidateOptionsMenu();
                 return true;
+                */
 
             case R.id.share:
                 Intent shareIntent = new Intent();
index 8dee5b1d2ff5856f7a01ca9841bcde076355f22f..cda6064bace2583f9a628ead72b369c0c33affa5 100644 (file)
         </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"