]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/main_webview.xml
Set `mainWebView` to use a wide viewport. Fixes https://redmine.stoutner.com/issues...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / main_webview.xml
index d395ac594eb97088106b21018264f3b12a41d622..1269da69111f280d41700b087adb775aadf277e5 100644 (file)
@@ -23,8 +23,8 @@
     android:id="@+id/main_webview_relativelayout"
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
-    android:layout_width="match_parent"
     android:layout_height="0dp"
+    android:layout_width="match_parent"
     android:layout_weight="1"
     tools:context="com.stoutner.privacybrowser.activities.MainWebViewActivity"
     tools:showIn="@layout/main_drawerlayout" >
@@ -44,8 +44,8 @@
         <!-- Google does not currently want to support hiding the AppBar on scroll for a WebView child with the Support Toolbar.  https://code.google.com/p/android/issues/detail?id=200394 -->
         <WebView
             android:id="@+id/main_webview"
-            android:layout_width="match_parent"
             android:layout_height="match_parent"
+            android:layout_width="match_parent"
             android:focusable="true"
             android:focusableInTouchMode="true"/>
     </android.support.v4.widget.SwipeRefreshLayout>