<?
xml version=
"1.0" encoding=
"utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:
id=
"@+id/coordinator"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?android:attr/colorBackground">
<com.google.android.material.appbar.AppBarLayout
android:
id=
"@+id/appbar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:liftOnScroll=
"true"
app:liftOnScrollTargetViewId=
"@+id/webview_scroller">
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content">
<com.google.android.material.appbar.MaterialToolbar
android:
id=
"@+id/material_toolbar"
style=
"@style/Threema.ToolbarStyle"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:background=
"@android:color/transparent"
app:navigationIcon=
"?attr/homeAsUpIndicator" />
<
include layout=
"@layout/connection_indicator" />
<com.google.android.material.progressindicator.LinearProgressIndicator
android:
id=
"@+id/progress"
android:layout_width=
"match_parent"
android:layout_height=
"2dp"
android:layout_gravity=
"bottom"
android:indeterminate=
"false" />
</FrameLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:
id=
"@+id/webview_scroller"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:clipToPadding=
"false"
android:scrollbars=
"vertical"
app:layout_behavior=
"com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<WebView
android:
id=
"@+id/simple_webview"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"?android:attr/colorBackground"
android:scrollbars=
"none" />
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>