From 49cd002c5f46d47454534fdda3ef167290c39fc4 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Thu, 29 Oct 2015 16:56:44 -0700 Subject: [PATCH] Add some TODOs for scrolling the app bar. --- app/src/main/java/com/stoutner/privacybrowser/Webview.java | 2 +- app/src/main/res/layout/activity_webview.xml | 2 +- app/src/main/res/values/styles.xml | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/stoutner/privacybrowser/Webview.java b/app/src/main/java/com/stoutner/privacybrowser/Webview.java index 7e87fdfd..7b0cf306 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/Webview.java +++ b/app/src/main/java/com/stoutner/privacybrowser/Webview.java @@ -63,7 +63,7 @@ public class Webview extends AppCompatActivity { urlTextBox = (EditText) actionBar.getCustomView().findViewById(R.id.urlTextBox); progressBar = (ProgressBar) actionBar.getCustomView().findViewById(R.id.progressBar); - //actionBar.setHideOnContentScrollEnabled(true); + // TODO actionBar.setHideOnContentScrollEnabled(true); } // Implement swipe down to refresh. diff --git a/app/src/main/res/layout/activity_webview.xml b/app/src/main/res/layout/activity_webview.xml index 28c0552b..2e968f3d 100644 --- a/app/src/main/res/layout/activity_webview.xml +++ b/app/src/main/res/layout/activity_webview.xml @@ -10,6 +10,6 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" - android:focusableInTouchMode="true" /> + android:focusableInTouchMode="true"/> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 92795d1c..8ccbef5c 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -2,7 +2,9 @@ -- 2.45.2