I'm trying to create a custom checkbox, by using the tag android:button to specify a custom image selector, that looks like
<CheckBox
..
..
android:button="@drawable/my_selector"
..
.. />
Where my selector is a custom defined selector in drawable folder. However, doing so, the image colors are replaced by grey. I can only set the color of the checkbox by using android:buttonTint (but obviously this solution doesn't allow me to use multi-color images as icon for the checkbox). So, I'm trying to understand why are the image colors replaced by grey.