How can I shrink the drawable on a button?
I have found a very simple and effective XML solution that doesn’t require ImageButton Make a drawable file for your image as below and use it for android:drawableLeft <?xml version=”1.0″ encoding=”utf-8″?> <layer-list xmlns:android=”http://schemas.android.com/apk/res/android”> <item android:id=”@+id/half_overlay” android:drawable=”@drawable/myDrawable” android:width=”40dp” android:height=”40dp” /> </layer-list> You can set the image size with android:width and android:height properties. This way you could … Read more