Changing tint color of Android EditText programmatically

后端 未结 5 663
孤城傲影
孤城傲影 2021-02-03 22:07

I am trying to change the tinting color of an EditText View programmatically during runtime. Basically i want to change what you would usually apply as ?attr/

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-03 22:57

    With the newly introduced android.support.v4.graphics.drawable.DrawableCompat#setTint setting the color is now possible.

提交回复
热议问题