getColor(Int Id)在Android6.0 Marshmlow上被废弃(API 23)
这个Resources.getColor(int id)方法已被废弃。
Resources.getColor(int id)
@ColorInt@Deprecatedpublic int getColor(@ColorRes int id) throws NotFoundException { return getColor(id, null);}
我该怎么办?
翻过高山走不出你
相关分类