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
1ab752d5
Commit
1ab752d5
authored
May 16, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:UI修改
parent
a5d2d185
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
92 additions
and
75 deletions
+92
-75
confide_call_logo.webp
m-confide/src/main/res/drawable-xhdpi/confide_call_logo.webp
+0
-0
confide_card_consult_bg.xml
m-confide/src/main/res/drawable/confide_card_consult_bg.xml
+1
-1
confide_home_activity.xml
m-confide/src/main/res/layout/confide_home_activity.xml
+91
-74
No files found.
m-confide/src/main/res/drawable-xhdpi/confide_call_logo.webp
0 → 100644
View file @
1ab752d5
File added
m-confide/src/main/res/drawable/confide_card_consult_bg.xml
View file @
1ab752d5
...
...
@@ -3,7 +3,7 @@
android:shape=
"rectangle"
>
<corners
android:radius=
"
4
dp"
/>
android:radius=
"
8
dp"
/>
<solid
android:color=
"#eaffffff"
/>
...
...
m-confide/src/main/res/layout/confide_home_activity.xml
View file @
1ab752d5
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:orientation=
"vertical"
>
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/white"
android:orientation=
"vertical"
>
<include
layout=
"@layout/confide_title_bar"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<com.jcodecraeer.xrecyclerview.XRecyclerView
android:id=
"@+id/rv_list"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/quick_consult_card"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
android:layout_marginBottom=
"30dp"
android:background=
"@drawable/confide_card_consult_bg"
android:orientation=
"horizontal"
android:paddingLeft=
"@dimen/platform_dp_8"
android:paddingRight=
"@dimen/platform_dp_8"
android:visibility=
"gone"
tools:visibility=
"visible"
>
<com.jcodecraeer.xrecyclerview.XRecyclerView
android:id=
"@+id/rv_list"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
<ImageView
android:id=
"@+id/confide_logo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/confide_call_logo"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<LinearLayout
android:id=
"@+id/quick_consult_card"
android:layout_width=
"match_parent"
android:layout_height=
"50dp"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
android:layout_marginBottom=
"30dp"
android:background=
"@drawable/confide_card_consult_bg"
android:orientation=
"horizontal"
android:paddingLeft=
"@dimen/confide_dp_25"
android:paddingRight=
"@dimen/confide_dp_25"
android:visibility=
"gone"
>
</ImageView>
<TextView
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:ellipsize=
"end"
android:gravity=
"center_vertical"
android:maxLines=
"1"
android:text=
"不知道选择哪位咨询师?试试"
android:textColor=
"@color/platform_color_242424"
android:textSize=
"14dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:gravity=
"center_vertical"
android:maxLines=
"1"
android:text=
"智能推荐,一键倾诉"
android:textColor=
"@color/platform_color_333333"
android:textSize=
"14dp"
android:layout_marginStart=
"@dimen/platform_dp_8"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/confide_logo"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/quick_consult_btn"
android:layout_width=
"wrap_content"
android:layout_height=
"30dp"
android:background=
"@drawable/confide_consult_btn_bg"
android:gravity=
"center"
android:paddingLeft=
"@dimen/confide_dp_20"
android:paddingRight=
"@dimen/confide_dp_20"
android:text=
"一键倾诉"
android:textColor=
"@color/platform_but_text_color"
android:textSize=
"14dp"
android:textStyle=
"bold"
/>
</LinearLayout>
<TextView
android:id=
"@+id/quick_consult_btn"
android:layout_width=
"wrap_content"
android:layout_height=
"30dp"
android:background=
"@drawable/confide_consult_btn_bg"
android:gravity=
"center"
android:paddingLeft=
"@dimen/confide_dp_20"
android:paddingRight=
"@dimen/confide_dp_20"
android:text=
"我要倾诉"
android:textColor=
"@color/platform_but_text_color"
android:textSize=
"14dp"
android:textStyle=
"bold"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id=
"@+id/v_zhezhao"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"48dp"
android:background=
"#80000000"
android:visibility=
"gone"
/>
<View
android:id=
"@+id/v_zhezhao"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"48dp"
android:background=
"#80000000"
android:visibility=
"gone"
/>
<com.ydl.confide.home.widget.ConfideHomeFilterView
android:id=
"@+id/v_filterView"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:background=
"@color/white"
android:visibility=
"gone"
/>
<com.ydl.confide.home.widget.ConfideHomeFilterView
android:id=
"@+id/v_filterView"
android:layout_width=
"match_parent"
android:layout_height=
"48dp"
android:background=
"@color/white"
android:visibility=
"gone"
/>
<com.ydl.ydlcommon.mvp.lce.view.YDLStateView
android:visibility=
"gone
"
android:id=
"@+id/lce_state_view
"
android:layout_width
=
"wrap_content"
android:layout_height=
"wrap_conten
t"
android:layout_alignLeft
=
"@+id/rv_list"
android:layout_alignTop
=
"@+id/rv_list"
android:layout_alignRight
=
"@+id/rv_list"
android:layout_alignBottom=
"@+id/rv_list
"
/>
<com.ydl.ydlcommon.mvp.lce.view.YDLStateView
android:id=
"@+id/lce_state_view
"
android:layout_width=
"wrap_content
"
android:layout_height
=
"wrap_content"
android:layout_alignLeft=
"@+id/rv_lis
t"
android:layout_alignTop
=
"@+id/rv_list"
android:layout_alignRight
=
"@+id/rv_list"
android:layout_alignBottom
=
"@+id/rv_list"
android:visibility=
"gone
"
/>
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
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