I want to resize my ImageButton using mouse on graphic layout or using code by
android:layout_width , android:layout_height. But whenever I do this, the ImageButton isn’t resized, in fact and it’s not smaller but it is cut at the edges.
thanks in advance
First try to use android:background instead of android:src for setting the image on the button.In most cases,it helps.If not,then see these..