Drawable tinting for api <21

后端 未结 10 1977
情话喂你
情话喂你 2020-11-29 01:56

Is it possible to make drawable tinting work for api < 21?



        
10条回答
  •  孤独总比滥情好
    2020-11-29 02:50

    Use this NameSpace
    xmlns:app="http://schemas.android.com/apk/res-auto"

    and after you can replace every android:tint with app:tint. This fix the issue for me.

提交回复
热议问题