The simplest way to tint cross-platform (if you don't need a ColorStateList) is: drawable.mutate().setColorFilter(color, PorterDuff.Mode.
確定! 回上一頁