]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Add some TODOs for scrolling the app bar.
authorSoren Stoutner <soren@stoutner.com>
Thu, 29 Oct 2015 23:56:44 +0000 (16:56 -0700)
committerSoren Stoutner <soren@stoutner.com>
Thu, 29 Oct 2015 23:56:44 +0000 (16:56 -0700)
app/src/main/java/com/stoutner/privacybrowser/Webview.java
app/src/main/res/layout/activity_webview.xml
app/src/main/res/values/styles.xml

index 7e87fdfdde415fd4de5765fd526c4988b3cd0fa5..7b0cf3065d99973369c3c258e5d614216415cf34 100644 (file)
@@ -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.
index 28c0552b1b217053a1615049162cfe319e096097..2e968f3db7a28aa7c5ff563b54f6a1e567a33ab2 100644 (file)
@@ -10,6 +10,6 @@
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:focusable="true"
-        android:focusableInTouchMode="true" />
+        android:focusableInTouchMode="true"/>
 
 </android.support.v4.widget.SwipeRefreshLayout>
index 92795d1cdf4532f197124cdecbff6bd1f9956bf3..8ccbef5c7562d2abaaca15197b9c2ab9d3d31da4 100644 (file)
@@ -2,7 +2,9 @@
 
     <!-- Base application theme. -->
     <style name="AppTheme" parent="Theme.AppCompat.Light">
-        <!-- Customize your theme here. -->
+        <!-- TODO windowActionBarOverlay is necessary for scrolling the app bar.
+        <item name="android:windowActionBarOverlay">true</item>
+        <item name="windowActionBarOverlay">true</item> -->
     </style>
 
 </resources>