103 行
3.2 KiB
XML
103 行
3.2 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/emptyViewLoading"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ProgressBar
|
||
|
|
android:layout_width="48dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:indeterminateDrawable="@drawable/load_progress" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:text="玩命加载中..."
|
||
|
|
android:textColor="@color/text_black"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/emptyViewNoData"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="48dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:src="@drawable/ic_no_data" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:text="暂无数据"
|
||
|
|
android:textColor="@color/text_black"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/emptyViewLoadFailed"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="48dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:src="@drawable/ic_load_failed" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:text="加载失败"
|
||
|
|
android:textColor="@color/text_black"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/emptyViewNetworkUnavailable"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="48dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:src="@drawable/ic_network_unavailable" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:text="网络异常"
|
||
|
|
android:textColor="@color/text_black"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</merge>
|