46 lines
1.9 KiB
XML
46 lines
1.9 KiB
XML
<?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"
|
|
android:orientation="vertical"
|
|
android:background="#eeeeee"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<include layout="@layout/base_title_layout"/>
|
|
<ProgressBar
|
|
android:id="@+id/pb_web"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp5"
|
|
android:max="100"
|
|
android:progressDrawable="@drawable/custom_progress"
|
|
android:layout_below="@+id/rl_web_title"
|
|
style="@style/Widget.AppCompat.ProgressBar.Horizontal"/>
|
|
<WebView
|
|
android:id="@+id/web_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/rl_web_title"/>
|
|
<RelativeLayout
|
|
android:id="@+id/rl_web_error"
|
|
android:background="@color/bg_white"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/pb_web">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true">
|
|
<ImageView
|
|
android:background="@drawable/load_fail"
|
|
android:layout_width="@dimen/common_130dp"
|
|
android:layout_height="@dimen/common_140dp"/>
|
|
<TextView
|
|
android:layout_gravity="center_horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/common_22dp"
|
|
android:text="@string/setting_load_fail"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|