From e91d2b50ba556a2873465977a9fce7a3c88bcbc3 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Sat, 22 Oct 2016 21:21:12 -0700 Subject: [PATCH] Temporarially disable Find on Page until the feature is completed. --- .../java/com/stoutner/privacybrowser/MainWebViewActivity.java | 2 ++ app/src/main/res/menu/webview_options_menu.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/com/stoutner/privacybrowser/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/MainWebViewActivity.java index ff63632a..982ff2d2 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/MainWebViewActivity.java @@ -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(); diff --git a/app/src/main/res/menu/webview_options_menu.xml b/app/src/main/res/menu/webview_options_menu.xml index 8dee5b1d..cda6064b 100644 --- a/app/src/main/res/menu/webview_options_menu.xml +++ b/app/src/main/res/menu/webview_options_menu.xml @@ -129,11 +129,13 @@ +