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
4fa302b8
Commit
4fa302b8
authored
Jan 18, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:一键登录UI优化
parent
73a7ea3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
OneKeyLoginHelp.kt
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
+8
-0
No files found.
m-user/src/main/java/com/yidianling/user/ui/login/OneKeyLoginHelp.kt
View file @
4fa302b8
...
...
@@ -280,6 +280,10 @@ object OneKeyLoginHelp {
.
setAppPrivacyTwo
(
"隐私协议"
,
appPrivacyTwo
)
.
setAppPrivacyColor
(
Color
.
parseColor
(
"#bfbfbf"
),
Color
.
parseColor
(
"#991da1f2"
))
.
setCheckboxHidden
(
checkBoxHidden
)
// 设置是否同意协议的checkbox隐藏
.
setCheckBoxHeight
(
16
)
.
setCheckBoxWidth
(
16
)
.
setCheckedImgPath
(
"user_login_protocol_selected_new"
)
.
setUncheckedImgPath
(
"user_login_protocol_unselected_new"
)
.
setPrivacyBefore
(
mPrivacyBeforeText
)
.
setPrivacyMargin
(
35
)
.
setScreenOrientation
(
ActivityInfo
.
SCREEN_ORIENTATION_SENSOR_PORTRAIT
)
// 设置竖屏
...
...
@@ -328,6 +332,10 @@ object OneKeyLoginHelp {
.
setAppPrivacyTwo
(
"隐私协议"
,
"https://m.ydl.com/Protol/yinsi"
)
.
setAppPrivacyColor
(
Color
.
parseColor
(
"#bfbfbf"
),
Color
.
parseColor
(
"#991da1f2"
))
.
setCheckboxHidden
(
checkBoxHidden
)
// 设置是否同意协议的checkbox隐藏
.
setCheckBoxHeight
(
16
)
.
setCheckBoxWidth
(
16
)
.
setCheckedImgPath
(
"user_login_protocol_selected_new"
)
.
setUncheckedImgPath
(
"user_login_protocol_unselected_new"
)
.
setPrivacyBefore
(
mPrivacyBeforeText
)
.
setPrivacyMargin
(
35
)
.
setDialogHeight
(
dialogHeight
)
...
...
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