xml实现
<ImageView
android:id="@+id/item_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_more_horiz"
app:tint="@color/c_999999" />
代码实现:
more.imageTintList = ColorStateList.valueOf(getColor(R.color.c_999999))