Gainster
Gainster

Reputation: 5631

Image Button , image resoultion

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

Answers (1)

Maxim
Maxim

Reputation: 3006

You should set background of the ImageButton to null. android:background="@null"

Upvotes: 4

Related Questions