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
0ae11959
Commit
0ae11959
authored
Jan 14, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:hint修改
parent
67ac596a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config.gradle
config.gradle
+2
-2
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+1
-1
No files found.
config.gradle
View file @
0ae11959
...
...
@@ -33,7 +33,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform"
:
"0.0.39.
68
"
,
"ydl-platform"
:
"0.0.39.
70
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.33"
,
...
...
@@ -114,7 +114,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform"
:
"0.0.39.
68
"
,
"ydl-platform"
:
"0.0.39.
70
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.32"
,
...
...
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
0ae11959
...
...
@@ -326,7 +326,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
}
private
fun
setHint
()
{
val
hintStr
=
SpannableString
(
resources
.
getString
(
R
.
string
.
user_edittext_hint
)
)
// 定义hint的值
val
hintStr
=
SpannableString
(
"输入手机号"
)
// 定义hint的值
val
ass
=
AbsoluteSizeSpan
(
20
,
true
)
// 设置字体大小 true表示单位是SP
hintStr
.
setSpan
(
ass
,
0
,
hintStr
.
length
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
et_phone_number
.
hint
=
SpannedString
(
hintStr
)
...
...
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