VectorDrawable Rendering issue on API 23

本小妞迷上赌 提交于 2019-12-13 08:40:10

问题


I am facing problem rendering vector on API 23 and but it works fine on below and above API 23 Android, I tried different ways to solve it but couldn't do it I was hope if anyone found a way for that.

Android API 24 Screenshot: Android API 23 Screenshot:


回答1:


Try to use AppCompatResources.getDrawable(getContext(), yourDrawableResId)



来源:https://stackoverflow.com/questions/45272690/vectordrawable-rendering-issue-on-api-23

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!