mch_activity_webview.xml
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ProgressBar
android:id="@+id/pro_web_progress"
style="@style/mch_custom_style_web_progress"
android:layout_width="match_parent"
android:layout_height="5dp"
android:max="100"
android:progress="0"
android:visibility="gone" />
<WebView
android:id="@+id/mch_webview"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<ImageView
android:id="@+id/btn_close"
android:layout_width="40dp"
android:layout_height="40dp"
android:visibility="gone"
android:padding="5dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="5dp"
android:layout_alignParentEnd="true"
android:src="@drawable/mch_common_btn_close_n"/>
<!-- android:progressDrawable="@drawable/mch_progress_bar_states"
style="?android:attr/progressBarStyleHorizontal"-->
</RelativeLayout>