Revision control
Copy as Markdown
<?xml version="1.0" encoding="utf-8"?>
<!--
~ This Source Code Form is subject to the terms of the Mozilla Public
~ License, v. 2.0. If a copy of the MPL was not distributed with this
-->
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/fragment_webview"
android:orientation="vertical"
android:importantForAutofill="noExcludeDescendants"
tools:context=".view.AppWebPageFragment"
tools:ignore="UnusedAttribute">
<include layout="@layout/include_backable"
app:layout_constraintVertical_chainStyle="packed"/>
<include layout="@layout/fragment_warning"
android:layout_width="match_parent"
android:layout_height="@dimen/hidden_network_error"
android:visibility="gone"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:layout_constraintBottom_toTopOf="@id/webView"
tools:text="@string/no_internet_connection"/>
<WebView
android:id="@+id/webView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:overScrollMode="ifContentScrolls"
android:importantForAutofill="noExcludeDescendants"
tools:ignore="Autofill"
app:layout_constraintTop_toBottomOf="@id/toolbar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>