<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:titlebar="http://schemas.android.com/apk/res-auto"
|
android:id="@+id/ll_root"
|
android:orientation="vertical">
|
|
<include
|
android:id="@+id/include_head"
|
layout="@layout/include_head"/>
|
|
<RelativeLayout
|
android:id="@+id/container"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
|
<!--加载失败-->
|
<LinearLayout
|
android:id="@+id/ll_error_refresh"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="center"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ImageView
|
android:id="@+id/img_err"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/load_err" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:text="加载失败,点击重试"
|
android:textSize="15sp" />
|
</LinearLayout>
|
|
<!--加载中..-->
|
<ViewStub
|
android:id="@+id/vs_loading"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:inflatedId="@+id/panel_import"
|
android:layout="@layout/layout_loading_view" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|