Commit 0ae11959 by 霍志良

feat:hint修改

parent 67ac596a
......@@ -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",
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment