@SuppressLint("RestrictedApi")
private static void setTintMode(Drawable drawable, PorterDuff.Mode mode) {
if (drawable instanceof TintAwareDrawable) {
((TintAwareDrawable) drawable).setTintMode(mode);
} else {
DrawableCompat.setTintMode(drawable, mode);
}
}
DrawableTint.java 文件源码
java
阅读 17
收藏 0
点赞 0
评论 0
项目:vehicle-keyboard-android
作者:
评论列表
文章目录