mch_activity_webview.xml 1.4 KB
<?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>