Remove app bar scrolling because it broke pinch to zoom and some web pages.
[PrivacyBrowser.git] / app / src / main / res / layout / activity_webview.xml
index d085905f54cc039cae26715eaf794b2e5845955d..d565fc0bd4418c09ac7acfe382288317ab1ba0dc 100644 (file)
@@ -1,18 +1,14 @@
-<!-- nextedScrollingEnabled is required to enable scrolling of the actionBar. -->
-<ScrollView
-    android:id="@+id/scrollView"
+<RelativeLayout
+    android:id="@+id/relativeLayout"
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:nestedScrollingEnabled="true" >
+    android:layout_height="match_parent">
 
-        <!-- layout_marginTop is required to force the top of the website below the overlayed actionBar. -->
         <WebView
             android:id="@+id/mainWebView"
             android:layout_width="match_parent"
-            android:layout_height="wrap_content"
+            android:layout_height="match_parent"
             android:focusable="true"
-            android:focusableInTouchMode="true"
-            android:layout_marginTop="?attr/actionBarSize"/>
+            android:focusableInTouchMode="true" />
 
-</ScrollView>
+</RelativeLayout>