<?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"
|
android:background="@color/transparentGray">
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
android:src="@drawable/ic_priority_high_blue_grey_600_36dp"
|
app:layout_constraintBottom_toTopOf="@id/text_refresh"/>
|
|
<TextView
|
android:id="@+id/text_refresh"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="8dp"
|
android:layout_marginEnd="8dp"
|
android:layout_marginBottom="8dp"
|
android:text="网络刷新失败"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
<Button
|
android:id="@+id/button_refresh"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:background="@drawable/shape_button_black"
|
android:text="重新加载"
|
app:layout_constraintTop_toBottomOf="@id/text_refresh"
|
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintRight_toRightOf="parent" />
|
|
</android.support.constraint.ConstraintLayout>
|