2019-11-18 03:46:12 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-13 10:05:04 +01:00
|
|
|
|
2020-01-12 17:47:26 +01:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2019-11-18 03:46:12 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-13 10:05:04 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-11-18 03:46:12 +01:00
|
|
|
android:id="@+id/web_view_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-01-13 10:05:04 +01:00
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2019-11-18 03:46:12 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:id="@+id/web_linear_layout"
|
|
|
|
android:layout_width="match_parent"
|
2021-03-20 00:24:40 +01:00
|
|
|
android:fitsSystemWindows="true"
|
2020-01-13 10:05:04 +01:00
|
|
|
android:layout_height="wrap_content">
|
2019-11-18 03:46:12 +01:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-03-23 22:18:18 +01:00
|
|
|
android:background="?attr/colorSecondary"
|
2019-11-18 03:46:12 +01:00
|
|
|
android:theme="?attr/actionBarTheme"
|
2020-05-21 08:11:18 +02:00
|
|
|
app:navigationIcon="@drawable/ic_close_24dp"
|
2021-03-20 00:24:40 +01:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways" />
|
2020-01-11 04:22:12 +01:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2020-01-13 10:05:04 +01:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@id/swipe_refresh"
|
2020-01-11 04:22:12 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-01-12 17:47:26 +01:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2020-01-15 09:58:59 +01:00
|
|
|
|
2020-01-13 10:05:04 +01:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2020-01-15 09:17:40 +01:00
|
|
|
android:id="@+id/nested_view"
|
2020-01-13 10:05:04 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2019-11-18 03:46:12 +01:00
|
|
|
<WebView
|
|
|
|
android:id="@+id/webview"
|
2021-03-20 00:24:40 +01:00
|
|
|
android:nestedScrollingEnabled="true"
|
2019-11-18 03:46:12 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-03-20 00:24:40 +01:00
|
|
|
android:layout_height="wrap_content" >
|
2020-01-15 09:58:59 +01:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progressBar"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:progressTint="@color/colorAccent"
|
|
|
|
android:progressBackgroundTint="@color/colorPrimary"
|
|
|
|
/>
|
|
|
|
</WebView>
|
2020-01-12 17:47:26 +01:00
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2019-11-18 03:46:12 +01:00
|
|
|
|
2020-01-13 10:05:04 +01:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
2020-01-12 17:47:26 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|