<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.ConstraintLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
<ProgressBar
|
android:id="@+id/view_waiting"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintVertical_bias="0.2" />
|
|
<TextView
|
android:id="@+id/tv_no_data"
|
app:layout_constraintTop_toBottomOf="@id/view_waiting"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="加载中..."
|
android:gravity="center"
|
android:textColor="@color/gray"
|
android:visibility="visible"/>
|
</android.support.constraint.ConstraintLayout>
|