From 5f50bd6ea5d5bdb7b8ea4d9e9a5851067b9aec1b Mon Sep 17 00:00:00 2001 From: Administrator <123> Date: Tue, 09 Nov 2021 02:22:38 +0000 Subject: [PATCH] 网络请求框架 --- app/src/main/res/layout/layout_null.xml | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/layout_null.xml b/app/src/main/res/layout/layout_null.xml index beac830..9d96af7 100644 --- a/app/src/main/res/layout/layout_null.xml +++ b/app/src/main/res/layout/layout_null.xml @@ -1,19 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:minHeight="400dp" - android:layout_height="match_parent"> + android:layout_height="wrap_content"> <TextView android:id="@+id/textView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="暂无数据" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent"/> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file + android:layout_centerHorizontal="true" + android:layout_alignParentBottom="true" + android:layout_gravity="center_horizontal" /> +</RelativeLayout> \ No newline at end of file -- Gitblit v1.9.1