From 29fdfa93f951116f5b3428caeb46916cad71395d Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 10 Jul 2017 20:55:14 +0200 Subject: [PATCH] properly update the edittext color with accentColor --- build.gradle | 2 +- .../kotlin/com/simplemobiletools/commons/views/MyEditText.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2c0c93b6d..fae90921c 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyEditText.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyEditText.kt index 4e9e53f8d..0c1d11c88 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyEditText.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyEditText.kt @@ -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) } }