Android colorControlNormal xml attributes doesn't work pre-Lollipop

前端 未结 3 1671
旧时难觅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:25

    I had a similar issue. Wanted to change the highlight colour of the menu items. And none of these attributes didn't work (Support Library v25.0.0).

    The only attribute that allowed me to change colour on Pre-L devices is this:

    @drawable/YOUR_DRAWABLE
    

    I stopped searching for further workarounds because it's obvious that Support Library is NOT ready for production code.

提交回复
热议问题