I'm trying to set the purple underline and cursor colors in an EditText to match green buttons in a dialog (see pic attached). I need to set the colors within the code, as different screens have different color schemes, all set within the code. The colorControlActivated was not introduced until Lollipop and is not available in KitKat, which we have to support.
I look through the question on Stack Overflow Set EditText cursor color, Tried using AppCompatEditText and learned about colorControlActivated property in this article: TextInputLayout proper Theming. I've not found anything that allows me to change the colors in and EditText on KitKat.
Thanks for you help.