In API 21, we can use colorAccent
to change the color of widgets like EditText
, RadioButton
etc. But it doesn't apply to the subclasses of those widgets. I've tried this but it's just like colorAccent
, it applies only to original widgets.
Is there any solution to this? other than having to create a custom drawable then implements it as a style..
For applying colorAccent just extend your custom EditText class from
android.support.v7.widget.AppCompatEditText
Actually as of Android support 22.1 you should subclass AppCompatEditText.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With