2026-04-13 16:37:34 +08:00
|
|
|
<?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"
|
2026-04-18 11:30:55 +08:00
|
|
|
android:text="加载中..."
|
|
|
|
|
android:textColor="#ff40FF5E"
|
2026-04-13 16:37:34 +08:00
|
|
|
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="暂无数据"
|
2026-04-18 11:30:55 +08:00
|
|
|
android:textColor="#ff40FF5E"
|
2026-04-13 16:37:34 +08:00
|
|
|
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="加载失败"
|
2026-04-18 11:30:55 +08:00
|
|
|
android:textColor="#ff40FF5E"
|
2026-04-13 16:37:34 +08:00
|
|
|
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="网络异常"
|
2026-04-18 11:30:55 +08:00
|
|
|
android:textColor="#ff40FF5E"
|
2026-04-13 16:37:34 +08:00
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</merge>
|