Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
e5fe78a4
Commit
e5fe78a4
authored
Dec 01, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改布局
parent
36f4abc2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
config.gradle
config.gradle
+2
-2
patient_empty.png
m-im/src/main/res/drawable-xxhdpi/patient_empty.png
+0
-0
medical_list_empty_view.xml
m-im/src/main/res/layout/medical_list_empty_view.xml
+16
-5
No files found.
config.gradle
View file @
e5fe78a4
...
@@ -10,7 +10,7 @@ ext {
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.84"
,
"m-user"
:
"0.0.61.84"
,
"m-home"
:
"0.0.22.70"
,
"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-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
"m-article"
:
"0.0.0.10"
,
...
@@ -94,7 +94,7 @@ ext {
...
@@ -94,7 +94,7 @@ ext {
"m-fm"
:
"0.0.30.01"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.84"
,
"m-user"
:
"0.0.61.84"
,
"m-home"
:
"0.0.22.70"
,
"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-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/res/drawable-xxhdpi/patient_empty.png
0 → 100644
View file @
e5fe78a4
28.5 KB
m-im/src/main/res/layout/medical_list_empty_view.xml
View file @
e5fe78a4
...
@@ -4,20 +4,30 @@
...
@@ -4,20 +4,30 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"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
<TextView
android:id=
"@+id/net_error"
android:id=
"@+id/net_error"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:text=
"网络异常,请稍后再试"
android:text=
"网络异常,请稍后再试"
android:textColor=
"@color/medical_color_8595a9"
android:textColor=
"@color/medical_color_8595a9"
android:textSize=
"14sp"
android:textSize=
"14sp"
app:layout_constraintBottom_toTopOf=
"@id/reLoad"
app:layout_constraintBottom_toTopOf=
"@id/reLoad"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintVertical_chainStyle=
"packed"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toBottomOf=
"@id/errorImg"
/>
<TextView
<TextView
...
@@ -30,9 +40,9 @@
...
@@ -30,9 +40,9 @@
android:background=
"@drawable/medical_bg_3464ec_8dp"
android:background=
"@drawable/medical_bg_3464ec_8dp"
android:textColor=
"@color/white"
android:textColor=
"@color/white"
android:textSize=
"14sp"
android:textSize=
"14sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/net_error"
/>
app:layout_constraintTop_toBottomOf=
"@id/net_error"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment