2020-01-11 11:22:12 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-02-22 07:43:50 +08:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-11 11:22:12 +08:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:theme="?attr/actionBarTheme"
|
2020-01-17 10:43:10 +08:00
|
|
|
app:layout_scrollFlags="scroll|enterAlways|snap"
|
|
|
|
app:navigationIcon="@drawable/ic_close_white_24dp" />
|
2020-01-11 11:22:12 +08:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2020-01-17 10:43:10 +08:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@id/swipe_refresh"
|
2020-01-11 11:22:12 +08:00
|
|
|
android:layout_width="match_parent"
|
2020-01-13 00:47:26 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2020-01-11 11:22:12 +08:00
|
|
|
|
2020-01-17 10:43:10 +08:00
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:id="@+id/nested_view"
|
2020-01-13 00:47:26 +08:00
|
|
|
android:layout_width="match_parent"
|
2020-01-17 10:43:10 +08:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
2020-01-13 00:47:26 +08:00
|
|
|
|
2020-01-17 10:43:10 +08:00
|
|
|
<WebView
|
|
|
|
android:id="@+id/webview"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:progressBackgroundTint="@color/colorPrimary"
|
|
|
|
android:progressTint="@color/colorPrimary" />
|
|
|
|
|
|
|
|
</WebView>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2020-01-13 00:47:26 +08:00
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|