Reputation: 5631
I am using android ImageButton, I want to resize the image so that it is equal to the default image that was on button which I think was 48 pix by 48 pix
But still the image is not covering the whole button , I can see some gray area.
So my question is what should be the resolution of the image that i cover the image button completely. The size of the imagebutton will be default.
Upvotes: 0
Views: 173
Reputation: 3006
You should set background of the ImageButton to null. android:background="@null"
Upvotes: 4