properly update the edittext color with accentColor

This commit is contained in:
tibbi 2017-07-10 20:55:14 +02:00
parent cd883f9459
commit 29fdfa93f9
2 changed files with 2 additions and 1 deletions

View file

@ -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'
}

View file

@ -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)
}
}