<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright 2016-2017 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
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" >
<!-- 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>