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
6afdceff
Commit
6afdceff
authored
May 30, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/lp/lp_confide_7' into 'd/v_confide_2.0'
feat: 一键登录、拨打页优化 See merge request app_android_lib/YDL-Component!95
parents
b537cadc
57c52bca
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
53 deletions
+60
-53
config.gradle
config.gradle
+6
-6
audioim_border_white_kefu.xml
m-audioim/src/main/res/drawable/audioim_border_white_kefu.xml
+1
-5
audioim_activity_audio_home.xml
m-audioim/src/main/res/layout/audioim_activity_audio_home.xml
+49
-38
OneKeyLoginHelp.kt
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
+4
-4
user_login_protocol_selected_dialog.png
m-user/src/main/res/drawable-xhdpi/user_login_protocol_selected_dialog.png
+0
-0
user_login_protocol_unselected_dialog.png
m-user/src/main/res/drawable-xhdpi/user_login_protocol_unselected_dialog.png
+0
-0
No files found.
config.gradle
View file @
6afdceff
...
...
@@ -5,10 +5,10 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.9
6
"
,
"m-confide"
:
"0.0.49.9
8
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.2
5
"
,
"m-user"
:
"0.0.62.2
6
"
,
"m-home"
:
"0.0.23.74"
,
"m-im"
:
"0.0.21.48"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -41,7 +41,7 @@ ext {
"ydl-webview"
:
"0.0.38.80"
,
"ydl-media"
:
"0.0.21.45"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.30.0
1
"
,
"m-audioim"
:
"0.0.49.30.0
3
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
@@ -90,10 +90,10 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.9
6
"
,
"m-confide"
:
"0.0.49.9
8
"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.2
5
"
,
"m-user"
:
"0.0.62.2
6
"
,
"m-home"
:
"0.0.23.74"
,
"m-im"
:
"0.0.21.48"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -124,7 +124,7 @@ ext {
"ydl-webview"
:
"0.0.38.80"
,
"ydl-media"
:
"0.0.21.45"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.30.0
1
"
,
"m-audioim"
:
"0.0.49.30.0
3
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
...
...
m-audioim/src/main/res/drawable/audio_border_white_kefu.xml
→
m-audioim/src/main/res/drawable/audio
im
_border_white_kefu.xml
View file @
6afdceff
...
...
@@ -3,10 +3,7 @@
<corners
android:radius=
"@dimen/platform_dp_14"
/>
<solid
android:color=
"@color/transparent"
/>
<stroke
android:color=
"#ffffff"
android:width=
"0.5dp"
>
android:color=
"#ffffff"
>
</stroke>
</shape>
\ No newline at end of file
m-audioim/src/main/res/layout/audioim_activity_audio_home.xml
View file @
6afdceff
...
...
@@ -5,26 +5,37 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/audiohome_background"
>
<TextView
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:textSize=
"13sp"
android:textColor=
"@color/white"
android:text=
"联系客服"
android:id=
"@+id/jump_kefu"
android:drawableLeft=
"@drawable/audioim_kefu"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"44dp"
android:layout_marginRight=
"@dimen/platform_dp_15"
android:drawablePadding=
"@dimen/platform_dp_3"
android:background=
"@drawable/audio_border_white_kefu"
android:paddingTop=
"@dimen/platform_dp_5"
android:paddingBottom=
"@dimen/platform_dp_5"
android:paddingStart=
"@dimen/platform_dp_8"
android:paddingEnd=
"@dimen/platform_dp_8"
>
android:background=
"@drawable/audioim_border_white_kefu"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"8dp"
android:layout_marginTop=
"5dp"
android:layout_marginBottom=
"5dp"
android:src=
"@drawable/audioim_kefu"
/>
</TextView>
<TextView
android:id=
"@+id/jump_kefu"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"3dp"
android:layout_marginTop=
"5dp"
android:layout_marginRight=
"8dp"
android:layout_marginBottom=
"5dp"
android:text=
"联系客服"
android:textColor=
"@color/white"
android:textSize=
"13sp"
/>
</LinearLayout>
<RelativeLayout
...
...
@@ -52,8 +63,8 @@
android:layout_height=
"120dp"
android:layout_centerInParent=
"true"
android:scaleType=
"centerCrop"
android:src=
"@drawable/audioim_head_place_hold_pic"
/>
android:src=
"@drawable/audioim_head_place_hold_pic"
/>
<TextView
android:id=
"@+id/tv_name"
android:layout_width=
"wrap_content"
...
...
@@ -77,9 +88,9 @@
android:ellipsize=
"end"
android:gravity=
"center"
android:maxLines=
"2"
android:text=
"正在等待聆听者接受邀请…"
android:textColor=
"@color/platform_color_70FFFFFF"
android:textSize=
"12sp"
android:text=
"正在等待聆听者接受邀请…"
/>
android:textSize=
"12sp"
/>
</RelativeLayout>
<!-- 倾诉剩余时间-->
...
...
@@ -90,6 +101,7 @@
android:layout_below=
"@+id/rl_head"
android:visibility=
"gone"
tools:visibility=
"visible"
>
<TextView
android:id=
"@+id/tv_notes"
android:layout_width=
"wrap_content"
...
...
@@ -142,9 +154,7 @@
android:gravity=
"center"
android:maxLines=
"2"
android:textColor=
"@color/white"
android:textSize=
"15sp"
/>
android:textSize=
"15sp"
/>
<TextView
...
...
@@ -171,23 +181,23 @@
android:textSize=
"12sp"
android:visibility=
"gone"
tools:visibility=
"gone"
/>
<LinearLayout
android:id=
"@+id/ll_changeRoute"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:layout_above=
"@id/ll_three_icon"
android:gravity=
"center"
android:orientation=
"vertical"
android:id=
"@+id/ll_changeRoute"
android:layout_centerHorizontal=
"true"
android:layout_marginBottom=
"@dimen/platform_dp_88"
>
android:gravity=
"center"
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/iv_change_route"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/iv_change_route"
android:id=
"@+id/iv_change_route"
>
</ImageView>
android:src=
"@drawable/iv_change_route"
></ImageView>
<TextView
android:id=
"@+id/tv_change_time_counter"
android:layout_width=
"wrap_content"
...
...
@@ -211,11 +221,10 @@
<LinearLayout
android:id=
"@+id/rl_mute_on_off"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_height=
"wrap_content"
android:
orientation=
"vertical
"
android:
layout_weight=
"1
"
android:gravity=
"center"
>
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/iv_mute_on_off"
...
...
@@ -239,14 +248,15 @@
<LinearLayout
android:id=
"@+id/rl_hang_up"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:gravity=
"center"
android:orientation=
"vertical"
android:layout_height=
"wrap_content"
>
android:orientation=
"vertical"
>
<FrameLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
>
<ImageView
android:id=
"@+id/iv_hang_up"
android:layout_width=
"66dp"
...
...
@@ -255,6 +265,7 @@
android:layout_marginTop=
"1dp"
android:src=
"@drawable/audioim_img_hang_up_unuse"
android:visibility=
"visible"
/>
<com.ydl.ydlcommon.view.ProgressView
android:id=
"@+id/progress_view"
android:layout_width=
"70dp"
...
...
@@ -262,6 +273,7 @@
app:pa_progressBackColor=
"#45E6AB"
app:pa_progressWidth=
"4dp"
/>
</FrameLayout>
<TextView
android:id=
"@+id/audio_hangup_text"
android:layout_width=
"wrap_content"
...
...
@@ -277,11 +289,10 @@
<!-- 免提按钮-->
<LinearLayout
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_height=
"wrap_content"
android:
orientation=
"vertical
"
android:
layout_weight=
"1
"
android:gravity=
"center"
>
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/iv_hands_free"
...
...
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
View file @
6afdceff
...
...
@@ -395,13 +395,13 @@ object OneKeyLoginHelp {
.
setAppPrivacyTwo
(
"隐私协议"
,
"https://m.ydl.com/Protol/yinsi"
)
.
setAppPrivacyColor
(
Color
.
parseColor
(
"#bfbfbf"
),
Color
.
parseColor
(
"#991da1f2"
))
.
setCheckboxHidden
(
checkBoxHidden
)
// 设置是否同意协议的checkbox隐藏
.
setCheckBoxHeight
(
2
4
)
.
setCheckBoxHeight
(
2
2
)
.
setCheckBoxWidth
(
24
)
.
setCheckedImgPath
(
"user_login_protocol_selected_
new
"
)
.
setUncheckedImgPath
(
"user_login_protocol_unselected_
new
"
)
.
setCheckedImgPath
(
"user_login_protocol_selected_
dialog
"
)
.
setUncheckedImgPath
(
"user_login_protocol_unselected_
dialog
"
)
.
setPrivacyBefore
(
mPrivacyBeforeText
)
.
setPrivacyMargin
(
35
)
.
setProtocolGravity
(
Gravity
.
CENTER
_VERTICAL
)
.
setProtocolGravity
(
Gravity
.
FILL
_VERTICAL
)
.
setDialogHeight
(
dialogHeight
)
.
setDialogBottom
(
true
)
.
setScreenOrientation
(
ActivityInfo
.
SCREEN_ORIENTATION_SENSOR_PORTRAIT
)
// 设置竖屏
...
...
m-user/src/main/res/drawable-xhdpi/user_login_protocol_selected_dialog.png
0 → 100644
View file @
6afdceff
1.51 KB
m-user/src/main/res/drawable-xhdpi/user_login_protocol_unselected_dialog.png
0 → 100644
View file @
6afdceff
1.94 KB
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