Scale image inside a checkbox android

view story

http://stackoverflow.com – I am changing trying to "fitXY" for my custom image of my CheckBox. I followed the below stackoverflow to understand how to load custom images, the problem is that the full image doesn't appear in the check box. I am looking to android:scaleType="fitXY" for the the checkbox image, but I cannot get it to work. (I cannot add that attribute to the checkbox in the xml) Changing Default Color of Android CheckBox Check Mark (HowTos)