在 Android 6.0 Marshmallow (API 23) 上不推荐使用 getColor(int id)
Resources.getColor(int id) 方法已被弃用. @ColorInt@已弃用public int getColor(@ColorRes int id) 抛出 NotFoundException {返回 getColor(id, null);} 我该怎么办? 解决方案 从 Android Support Library 23 开始, 一个新的getColor() 方
..