]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/activity_webview.xml
Remove app bar scrolling because it broke pinch to zoom and some web pages.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / activity_webview.xml
index 2e968f3db7a28aa7c5ff563b54f6a1e567a33ab2..d565fc0bd4418c09ac7acfe382288317ab1ba0dc 100644 (file)
@@ -1,15 +1,14 @@
-<!-- SwipeRefreshLayout allows the user to swipe down to refresh. -->
-<android.support.v4.widget.SwipeRefreshLayout
-    android:id="@+id/swipeRefreshLayoutContainer"
+<RelativeLayout
+    android:id="@+id/relativeLayout"
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
-    <WebView
-        android:id="@+id/mainWebView"
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:focusable="true"
-        android:focusableInTouchMode="true"/>
+        <WebView
+            android:id="@+id/mainWebView"
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:focusable="true"
+            android:focusableInTouchMode="true" />
 
-</android.support.v4.widget.SwipeRefreshLayout>
+</RelativeLayout>