Commit e5fe78a4 by 霍志良

feat:修改布局

parent 36f4abc2
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03",
"m-user" : "0.0.61.84",
"m-home" : "0.0.22.70",
"m-im" : "0.0.20.58",
"m-im" : "0.0.20.60",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10",
......@@ -94,7 +94,7 @@ ext {
"m-fm" : "0.0.30.01",
"m-user" : "0.0.61.84",
"m-home" : "0.0.22.70",
"m-im" : "0.0.20.58",
"m-im" : "0.0.20.60",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8",
......
......@@ -4,20 +4,30 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toTopOf="@id/net_error"
app:layout_constraintVertical_chainStyle="packed"
android:background="@drawable/patient_empty"
android:id="@+id/errorImg"
>
</ImageView>
<TextView
android:id="@+id/net_error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="网络异常,请稍后再试"
android:textColor="@color/medical_color_8595a9"
android:textSize="14sp"
app:layout_constraintBottom_toTopOf="@id/reLoad"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toBottomOf="@id/errorImg"
/>
<TextView
......@@ -30,9 +40,9 @@
android:background="@drawable/medical_bg_3464ec_8dp"
android:textColor="@color/white"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/net_error" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment