Android colorControlNormal xml attributes doesn't work pre-Lollipop

前端 未结 3 1690
旧时难觅i
旧时难觅i 2021-02-19 18:33

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 st

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 19:36

    You have to set the colorControlActivated, colorControlHighlight and colorControlNormal in your app theme (or activity theme) not in your edittext style.

    Something like this:

    
    

提交回复
热议问题