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
78e215d6
Commit
78e215d6
authored
May 16, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:倾诉列表,UI修改
parent
0803accc
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
189 additions
and
4 deletions
+189
-4
confide_bg_color_666666.xml
m-confide/src/main/res/drawable/confide_bg_color_666666.xml
+2
-1
confide_bg_color_ff8f38.xml
m-confide/src/main/res/drawable/confide_bg_color_ff8f38.xml
+2
-1
confide_bg_main_color.xml
m-confide/src/main/res/drawable/confide_bg_main_color.xml
+2
-1
confide_recommend_expert_line_bg.xml
m-confide/src/main/res/drawable/confide_recommend_expert_line_bg.xml
+2
-1
confide_recommend_view_new.xml
m-confide/src/main/res/layout/confide_recommend_view_new.xml
+181
-0
No files found.
m-confide/src/main/res/drawable/confide_bg_color_666666.xml
View file @
78e215d6
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:bottomRightRadius=
"6dp"
/>
<corners
android:bottomRightRadius=
"6dp"
/>
<solid
android:color=
"#
90666666
"
/>
<solid
android:color=
"#
BBC1CD
"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/drawable/confide_bg_color_ff8f38.xml
View file @
78e215d6
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:bottomRightRadius=
"6dp"
/>
<corners
android:bottomRightRadius=
"6dp"
/>
<solid
android:color=
"#
90FF8F38
"
/>
<solid
android:color=
"#
FF994B
"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/drawable/confide_bg_main_color.xml
View file @
78e215d6
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:bottomRightRadius=
"6dp"
/>
<corners
android:bottomRightRadius=
"6dp"
/>
<solid
android:color=
"#
9
01da1f2"
/>
<solid
android:color=
"#
7
01da1f2"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/drawable/confide_recommend_expert_line_bg.xml
View file @
78e215d6
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:bottomRightRadius=
"3dp"
/>
<corners
android:bottomRightRadius=
"3dp"
/>
<solid
android:color=
"
@color/platform_main_theme
"
/>
<solid
android:color=
"
#701da1f2
"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/layout/confide_recommend_view_new.xml
0 → 100644
View file @
78e215d6
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
>
<androidx.cardview.widget.CardView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
app:cardElevation=
"0dp"
app:cardCornerRadius=
"6dp"
android:layout_marginTop=
"@dimen/platform_dp_15"
android:layout_marginStart=
"@dimen/platform_dp_15"
android:id=
"@+id/img_bg"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
>
<FrameLayout
android:layout_width=
"96dp"
android:layout_height=
"96dp"
>
<ImageView
android:id=
"@+id/img_head"
android:layout_width=
"96dp"
android:layout_height=
"96dp"
android:scaleType=
"fitXY"
/>
<TextView
android:id=
"@+id/tv_isLine"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingLeft=
"9dp"
android:paddingRight=
"9dp"
android:paddingTop=
"1dp"
android:paddingBottom=
"1dp"
android:textSize=
"@dimen/confide_dp_10"
android:textColor=
"@color/white"
android:background=
"@drawable/confide_recommend_expert_line_bg"
tools:text=
"在线"
/>
<ImageView
android:id=
"@+id/iv_play"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_gravity=
"bottom|right"
android:layout_marginBottom=
"8dp"
android:layout_marginEnd=
"8dp"
tools:background=
"@drawable/confide_paused"
/>
</FrameLayout>
</androidx.cardview.widget.CardView>
<TextView
android:id=
"@+id/tv_name"
app:layout_constraintStart_toEndOf=
"@id/img_bg"
app:layout_constraintTop_toTopOf=
"@id/img_bg"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"14dp"
android:textSize=
"@dimen/platform_sp_16"
android:textColor=
"@color/platform_color_333333"
tools:text=
"姚雨晴"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/ll_confide_data"
app:layout_constraintTop_toBottomOf=
"@id/tv_name"
app:layout_constraintStart_toEndOf=
"@id/img_bg"
android:layout_marginStart=
"14dp"
android:orientation=
"horizontal"
>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:gravity=
"center"
>
<TextView
android:id=
"@+id/tv_Connection"
android:layout_marginTop=
"@dimen/confide_dp_12"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_14"
android:textColor=
"#ACADB1"
android:textStyle=
"bold"
tools:text=
"83%"
/>
<TextView
android:id=
"@+id/tv_ConnectionContent"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_12"
android:textColor=
"#BCBCBC"
android:text=
"接通率"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:gravity=
"center"
android:layout_marginStart=
"@dimen/confide_dp_25"
>
<TextView
android:id=
"@+id/tv_confideNum"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_14"
android:textColor=
"#ACADB1"
android:textStyle=
"bold"
android:layout_marginTop=
"12dp"
tools:text=
"8000人"
/>
<TextView
android:id=
"@+id/tv_tv_confideNumContent"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_12"
android:textColor=
"#BCBCBC"
android:text=
"向TA倾诉"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:gravity=
"center"
android:layout_marginStart=
"@dimen/confide_dp_25"
>
<TextView
android:id=
"@+id/tv_score"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_14"
android:textColor=
"#ACADB1"
android:textStyle=
"bold"
android:layout_marginTop=
"12dp"
tools:text=
"4.9"
/>
<TextView
android:id=
"@+id/tv_tv_ScoreContent"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"@dimen/platform_sp_12"
android:textColor=
"#BCBCBC"
android:text=
"评分"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id=
"@+id/flowlayout_tag"
android:orientation=
"horizontal"
android:layout_width=
"wrap_content"
android:layout_height=
"16dp"
app:layout_constraintTop_toBottomOf=
"@id/ll_confide_data"
app:layout_constraintStart_toEndOf=
"@id/img_bg"
android:layout_marginStart=
"14dp"
app:layout_constraintBottom_toBottomOf=
"@id/img_bg"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"50元/25分钟"
android:textSize=
"@dimen/platform_sp_12"
app:layout_constraintStart_toEndOf=
"@id/flowlayout_tag"
app:layout_constraintBottom_toBottomOf=
"@id/flowlayout_tag"
>
</TextView>
<TextView
android:id=
"@+id/tv_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"13sp"
android:textColor=
"#919190"
android:maxLines=
"2"
android:ellipsize=
"end"
app:layout_constraintTop_toBottomOf=
"@id/img_bg"
app:layout_constraintStart_toStartOf=
"@id/img_bg"
android:layout_marginTop=
"@dimen/platform_dp_15"
tools:text=
"没有人一出生就是完美的,只有不断的相信自...己…才能成就自己的梦想。"
/>
</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