browser_activity.xml 1.75 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.studymachine.www.ui.activity.BrowserActivity">


    <!--    <com.hjq.bar.TitleBar-->
    <!--        android:translationZ="1dp"-->
    <!--        android:layout_width="match_parent"-->
    <!--        android:layout_height="wrap_content"-->
    <!--        app:barStyle="transparent"-->
    <!--        app:leftIconWidth="@dimen/dp_20"-->
    <!--        />-->

    <ProgressBar
        android:id="@+id/pb_browser_progress"
        style="?android:attr/progressBarStyleHorizontal"
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_3"
        android:progressDrawable="@drawable/progress_gradient_bg"
        android:visibility="gone" />


    <com.studymachine.www.widget.StatusLayout
        android:id="@+id/hl_browser_hint"
        android:layout_width="match_parent"
        android:layout_height="match_parent">


        <com.studymachine.www.widget.X5WebView
            android:id="@+id/wv_browser_view"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />


    </com.studymachine.www.widget.StatusLayout>


    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/loadview"
        android:layout_width="@dimen/dp_200"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:adjustViewBounds="true" />

</RelativeLayout>