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
a0406e84
Commit
a0406e84
authored
Jun 23, 2022
by
范玉宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
onekey confide style done
parent
124a2e0a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
80 additions
and
11 deletions
+80
-11
confide_call_logo.webp
m-confide/src/main/res/drawable-xhdpi/confide_call_logo.webp
+0
-0
confide_right_arrow.webp
m-confide/src/main/res/drawable-xhdpi/confide_right_arrow.webp
+0
-0
confide_call_logo.xml
m-confide/src/main/res/drawable/confide_call_logo.xml
+42
-0
confide_card_consult_bg.xml
m-confide/src/main/res/drawable/confide_card_consult_bg.xml
+3
-2
confide_consult_btn_bg.xml
m-confide/src/main/res/drawable/confide_consult_btn_bg.xml
+7
-4
confide_right_arrow.xml
m-confide/src/main/res/drawable/confide_right_arrow.xml
+20
-0
confide_home_activity.xml
m-confide/src/main/res/layout/confide_home_activity.xml
+8
-5
No files found.
m-confide/src/main/res/drawable-xhdpi/confide_call_logo.webp
deleted
100644 → 0
View file @
124a2e0a
File deleted
m-confide/src/main/res/drawable-xhdpi/confide_right_arrow.webp
deleted
100644 → 0
View file @
124a2e0a
File deleted
m-confide/src/main/res/drawable/confide_call_logo.xml
0 → 100644
View file @
a0406e84
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"29dp"
android:height=
"29dp"
android:viewportWidth=
"29"
android:viewportHeight=
"29"
>
<path
android:pathData=
"M14.5,14.5m-14.5,0a14.5,14.5 0,1 1,29 0a14.5,14.5 0,1 1,-29 0"
android:strokeWidth=
"1"
android:fillColor=
"#FFFFFF"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
<path
android:pathData=
"M20.2426,8.6932C18.9653,7.6331 17.3222,7.1176 15.6208,7.2388C15.3959,7.258 15.2304,7.4463 15.2496,7.6712C15.2559,7.7747 15.3054,7.8742 15.3831,7.951C15.4616,8.0192 15.5692,8.0562 15.6727,8.05C17.1662,7.9498 18.6111,8.3931 19.7304,9.3251C20.8506,10.2486 21.5134,11.5269 21.6149,12.9262C21.6283,13.1248 21.7836,13.2783 21.9786,13.2988C22.0041,13.3015 22.021,13.3032 22.0474,13.2974C22.2722,13.2782 22.4378,13.0899 22.4185,12.865C22.3072,11.2332 21.5368,9.755 20.2426,8.6932Z"
android:strokeWidth=
"1"
android:fillColor=
"#5ECEA9"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
<path
android:pathData=
"M15.6922,10.0665C16.5646,10.0038 17.4031,10.2634 18.0577,10.8037C18.7048,11.3346 19.0896,12.0779 19.15,12.89C19.1634,13.0886 19.3187,13.2421 19.5137,13.2626C19.5391,13.2652 19.5561,13.267 19.5824,13.2612C19.8073,13.242 19.9728,13.0537 19.9536,12.8288C19.8825,11.7927 19.3902,10.8494 18.569,10.1802C17.7563,9.5119 16.7112,9.1792 15.6403,9.2552C15.4154,9.2745 15.2499,9.4628 15.2691,9.6877C15.2799,9.9117 15.4673,10.0857 15.6922,10.0665Z"
android:strokeWidth=
"1"
android:fillColor=
"#5ECEA9"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
<path
android:pathData=
"M15.1838,11.9674C15.2624,12.0357 15.3699,12.0727 15.4734,12.0664C15.9138,12.0356 16.3373,12.1658 16.6685,12.4406C16.992,12.7061 17.1844,13.0778 17.2103,13.4834C17.2238,13.6819 17.3791,13.8354 17.5656,13.855C17.591,13.8577 17.6165,13.8604 17.6343,13.8537C17.8592,13.8344 18.0247,13.6461 18.0055,13.4212C17.9603,12.7907 17.6604,12.2192 17.1628,11.8154C16.6737,11.4125 16.0436,11.2092 15.3952,11.261C15.1703,11.2803 15.0048,11.4686 15.024,11.6935C15.0557,11.7997 15.1053,11.8992 15.1838,11.9674Z"
android:strokeWidth=
"1"
android:fillColor=
"#5ECEA9"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
<path
android:pathData=
"M19.0824,17.506C18.6476,17.1991 18.1958,16.9178 17.7951,16.7132C17.1472,16.3722 16.8573,16.3295 16.7039,16.3295C16.3714,16.3295 16.0816,16.5 15.8514,16.841C15.7065,17.0542 15.5956,17.3014 15.4933,17.5401C15.4422,17.6509 15.3569,17.864 15.2887,17.9749C15.1609,17.9322 14.854,17.8044 14.3084,17.4293C13.7713,17.0627 13.1831,16.5853 12.7398,16.1505C12.305,15.7072 11.8276,15.119 11.461,14.5734C11.0859,14.0193 10.958,13.7209 10.9154,13.593C11.0262,13.5248 11.2308,13.4395 11.3587,13.3799C11.5974,13.2776 11.8446,13.1667 12.0492,13.0218C12.3817,12.7916 12.5522,12.5018 12.5522,12.1693C12.5522,12.0073 12.5096,11.726 12.1686,11.0696C11.964,10.6774 11.6826,10.2171 11.3757,9.7823C11.1456,9.4584 10.8046,8.9895 10.438,8.6144C10.0117,8.1711 9.6878,7.975 9.3724,7.975C8.6477,7.975 7.8549,8.9383 7.5395,9.3475C7.2411,9.7653 6.525,10.8224 6.525,11.8283C6.525,12.7661 7.1388,13.9681 7.6588,14.8121C8.3494,15.9289 9.2956,17.1394 10.3357,18.205L10.6767,18.546C11.7423,19.5861 12.9444,20.5409 14.0611,21.2314C14.9051,21.7515 16.0986,22.3653 17.0364,22.3653C18.0423,22.3653 19.0994,21.6492 19.5086,21.3423C19.9178,21.0354 20.8812,20.234 20.8812,19.5094C20.8812,19.1939 20.6851,18.8615 20.2418,18.4352C19.8752,18.0857 19.4063,17.7362 19.0824,17.506Z"
android:strokeWidth=
"1"
android:fillColor=
"#5ECEA9"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
<path
android:pathData=
"M10.3186,12.7405C10.0032,12.9536 9.8498,13.2094 9.8583,13.5163C9.8583,13.6527 9.8753,14.0704 10.6085,15.1531C11.0092,15.7413 11.5292,16.3892 12.0151,16.8837C12.5011,17.3525 13.1404,17.8811 13.7287,18.2818C14.8113,19.0234 15.2291,19.032 15.3825,19.032C15.6809,19.032 15.9366,18.87 16.1412,18.5631C16.2606,18.3841 16.3629,18.1539 16.4481,17.9408C16.5163,17.7788 16.5931,17.6083 16.6613,17.4889C16.6954,17.4293 16.7209,17.3952 16.738,17.3781C16.8147,17.3952 16.9852,17.4548 17.3092,17.6253C17.6416,17.8044 18.0423,18.0431 18.4174,18.3073C19.3552,18.9552 19.7473,19.3986 19.8411,19.5435C19.8155,19.5946 19.7559,19.7055 19.6109,19.876C19.4234,20.0976 19.1506,20.3363 18.8607,20.558C18.1958,21.0524 17.5138,21.3423 17.0449,21.3423C16.5078,21.3423 15.6212,20.9842 14.6153,20.3619C13.5667,19.714 12.4243,18.8103 11.4098,17.8214L11.0859,17.4889C10.097,16.4745 9.1933,15.3321 8.5454,14.275C7.9231,13.2605 7.5651,12.3739 7.5651,11.8368C7.5651,11.3594 7.8549,10.686 8.3494,10.0125C8.5625,9.7141 8.8097,9.4498 9.0228,9.2623C9.1933,9.1174 9.3042,9.0492 9.3553,9.0321C9.5002,9.1259 9.9435,9.518 10.5914,10.4558C10.8557,10.8394 11.0944,11.2401 11.2734,11.5726C11.4439,11.8965 11.5036,12.067 11.5207,12.1437C11.5036,12.1608 11.4695,12.1864 11.4098,12.2205C11.282,12.2972 11.1115,12.3739 10.941,12.4421C10.7193,12.5274 10.5062,12.6211 10.3186,12.7405Z"
android:strokeWidth=
"1"
android:fillColor=
"#5ECEA9"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
</vector>
m-confide/src/main/res/drawable/confide_card_consult_bg.xml
View file @
a0406e84
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
android:shape=
"rectangle"
>
android:shape=
"rectangle"
>
<corners
<corners
android:radius=
"
8
dp"
/>
android:radius=
"
26
dp"
/>
<solid
android:color=
"#
ffffff
"
/>
<solid
android:color=
"#
61CEAC
"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/drawable/confide_consult_btn_bg.xml
View file @
a0406e84
...
@@ -2,10 +2,12 @@
...
@@ -2,10 +2,12 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
android:shape=
"rectangle"
>
<gradient
<!-- <gradient-->
android:startColor=
"@color/confide_61CEAC"
<!-- android:startColor="@color/confide_61CEAC"-->
android:endColor=
"@color/confide_48CC95"
/
>
<!-- android:endColor="@color/confide_48CC95"/>--
>
<corners
android:radius=
"8dp"
/>
<solid
android:color=
"@color/white"
/>
<corners
android:radius=
"15dp"
/>
</shape>
</shape>
\ No newline at end of file
m-confide/src/main/res/drawable/confide_right_arrow.xml
0 → 100644
View file @
a0406e84
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"7dp"
android:height=
"8dp"
android:viewportWidth=
"7"
android:viewportHeight=
"8"
>
<path
android:pathData=
"M0,0h7v7h-7z"
android:strokeAlpha=
"0"
android:strokeWidth=
"1"
android:fillColor=
"#54B6F3"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
android:fillAlpha=
"0"
/>
<path
android:pathData=
"M2.7,7.41143l-0.55918,-0.50312l2.42266,-2.69199l-2.56348,-2.69814l0.54551,-0.51816l3.04199,3.20264z"
android:strokeWidth=
"1"
android:fillColor=
"#55B7F3"
android:fillType=
"nonZero"
android:strokeColor=
"#00000000"
/>
</vector>
m-confide/src/main/res/layout/confide_home_activity.xml
View file @
a0406e84
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<androidx.constraintlayout.widget.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id=
"@+id/quick_consult_card"
android:id=
"@+id/quick_consult_card"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_content
"
android:layout_height=
"
52dp
"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"15dp"
android:layout_marginLeft=
"15dp"
android:layout_marginRight=
"15dp"
android:layout_marginRight=
"15dp"
...
@@ -40,7 +40,8 @@
...
@@ -40,7 +40,8 @@
android:id=
"@+id/confide_logo"
android:id=
"@+id/confide_logo"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/confide_call_logo"
android:layout_marginStart=
"8dp"
android:src=
"@drawable/confide_call_logo"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
...
@@ -57,8 +58,9 @@
...
@@ -57,8 +58,9 @@
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
android:maxLines=
"1"
android:maxLines=
"1"
android:text=
"智能推荐,一键倾诉"
android:text=
"智能推荐,一键倾诉"
android:textColor=
"@color/
platform_color_333333
"
android:textColor=
"@color/
white
"
android:textSize=
"14dp"
android:textSize=
"14dp"
android:textStyle=
"bold"
android:layout_marginStart=
"@dimen/platform_dp_8"
android:layout_marginStart=
"@dimen/platform_dp_8"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toEndOf=
"@id/confide_logo"
app:layout_constraintStart_toEndOf=
"@id/confide_logo"
...
@@ -85,9 +87,10 @@
...
@@ -85,9 +87,10 @@
android:paddingRight=
"@dimen/platform_dp_7"
android:paddingRight=
"@dimen/platform_dp_7"
android:text=
"我要倾诉"
android:text=
"我要倾诉"
android:layout_marginTop=
"@dimen/platform_dp_12"
android:layout_marginTop=
"@dimen/platform_dp_12"
android:textColor=
"
@color/white
"
android:textColor=
"
#55CDA0
"
android:textSize=
"13sp"
android:textSize=
"13sp"
android:drawableRight=
"@drawable/confide_right_arrow"
/>
android:textStyle=
"bold"
app:drawableRightCompat=
"@drawable/confide_right_arrow"
/>
<ImageView
<ImageView
android:id=
"@+id/confideRed"
android:id=
"@+id/confideRed"
...
...
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