properly update the edittext color with accentColor
This commit is contained in:
parent
cd883f9459
commit
29fdfa93f9
2 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@ ext {
|
|||
propMinSdkVersion = 16
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '2.22.5'
|
||||
propVersionName = '2.22.6'
|
||||
kotlin_version = '1.1.3-2'
|
||||
support_libs = '25.3.1'
|
||||
}
|
||||
|
|
|
@ -19,5 +19,6 @@ class MyEditText : EditText {
|
|||
// requires android:textCursorDrawable="@null" in xml to color the cursor too
|
||||
setTextColor(textColor)
|
||||
setHintTextColor(textColor.adjustAlpha(0.5f))
|
||||
setLinkTextColor(accentColor)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue