I've been trying to change the color of the EditText
line on the bottom, but my EditText
still doesn't wanna change the color, but it's using the style from Material
.
I've tried to change the color following these answer: link
So I have an EditText
with the Material
form but not the colors I've set.
I've put appcompat-v7
in my Gradle
config file, and it's already working for the color primary.
<style name="AppBaseTheme.MiddleTheme.Widget.EditText" parent="Theme.AppCompat.Light">
<item name="colorPrimary">@color/middle_primary</item>
<!-- Those 3 lines are staying in red war in IntelliJ but it does build the project -->
<item name="android:colorControlNormal">@color/middle_sqool_primary</item>
<item name="android:colorControlActivated">@color/middle_sqool_primary</item>
<item name="android:colorControlHighlight">@color/middle_sqool_primary</item>
</style>