|
1
|
<?xml version="1.0" encoding="utf-8"?> |
|
2
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
4
|
android:layout_width="match_parent" |
|
5
|
android:layout_height="match_parent" |
|
6
|
android:background="@color/windowBackground"> |
|
7
|
|
|
8
|
<ProgressBar |
|
9
|
android:id="@+id/progress_bar" |
|
10
|
style="?android:attr/progressBarStyleHorizontal" |
|
11
|
android:layout_width="match_parent" |
|
12
|
android:layout_height="3dp" |
|
13
|
android:indeterminate="false" |
|
14
|
android:max="100" |
|
15
|
android:progressTint="#2563eb" |
|
16
|
app:layout_constraintTop_toTopOf="parent" /> |
|
17
|
|
|
18
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout |
|
19
|
android:id="@+id/swipe_refresh" |
|
20
|
android:layout_width="match_parent" |
|
21
|
android:layout_height="0dp" |
|
22
|
app:layout_constraintBottom_toBottomOf="parent" |
|
23
|
app:layout_constraintTop_toBottomOf="@id/progress_bar"> |
|
24
|
|
|
25
|
<WebView |
|
26
|
android:id="@+id/webview" |
|
27
|
android:layout_width="match_parent" |
|
28
|
android:layout_height="match_parent" /> |
|
29
|
|
|
30
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> |
|
31
|
|
|
32
|
</androidx.constraintlayout.widget.ConstraintLayout> |