Android colorControlNormal xml attributes doesn't work pre-Lollipop

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

    As a workaround, try using android.support.v7.widget.AppCompatEditText rather than EditText. You should always use that for programmatically created views.

    Pretty sure you made it, but be sure you are editing themes in the values folder and not in the values-v21 one (if any).

提交回复
热议问题