66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:background="#ffffff"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
|
android:id="@+id/rl_left_back"
|
|
android:visibility="gone"
|
|
android:layout_width="@dimen/common_44dp"
|
|
android:layout_height="match_parent">
|
|
<ImageView
|
|
android:id="@+id/iv_web_back"
|
|
android:visibility="visible"
|
|
android:layout_width="@dimen/theme_navigation_size"
|
|
android:layout_height="@dimen/theme_navigation_size"
|
|
android:src="@drawable/setting_back_icon"/>
|
|
</RelativeLayout>
|
|
<WebView
|
|
android:id="@+id/web_view"
|
|
android:paddingTop="@dimen/common_20dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_toRightOf="@+id/rl_left_back"
|
|
android:layout_below="@+id/rl_web_title"/>
|
|
<com.ubtech.view.widget.UButton
|
|
android:id="@+id/btnLogout"
|
|
android:visibility="gone"
|
|
android:layout_marginBottom="@dimen/dp30"
|
|
android:text="@string/close_account"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
style="@style/btn_blue_middle_style"/>
|
|
<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"/>
|
|
<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>
|