From: Soren Stoutner Date: Wed, 2 Dec 2015 18:22:20 +0000 (-0700) Subject: Refine progressBar height. Create onReceivedError toast. X-Git-Tag: v1.0~26 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=f13613530948c04bf8c8153b441d78ba74f476c8;p=PrivacyBrowserAndroid.git Refine progressBar height. Create onReceivedError toast. --- diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 02deefac..1f558d1d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -3,6 +3,9 @@ package="com.stoutner.privacybrowser" > + + + = 11) { mainWebView.getSettings().setDisplayZoomControls(false); } @@ -172,7 +180,7 @@ public class Webview extends AppCompatActivity { return true; } - // @TargetApi(11) turns off the errors regarding copy and paste, which are removied from view in menu_webview.xml for lower version of Android. + // @TargetApi(11) turns off the errors regarding copy and paste, which are removed from view in menu_webview.xml for lower version of Android. @Override @TargetApi(11) public boolean onOptionsItemSelected(MenuItem menuItem) { diff --git a/app/src/main/res/layout/app_bar.xml b/app/src/main/res/layout/app_bar.xml index d82f5ea6..a66e99f4 100644 --- a/app/src/main/res/layout/app_bar.xml +++ b/app/src/main/res/layout/app_bar.xml @@ -5,7 +5,7 @@ android:id="@+id/addressBarFrameLayout" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content" > + android:layout_height="wrap_content"> +