I have a image button for which I have loaded a image in my XML using android:src tag. I have few questions based on image button :
my image is resized for aspect ratio 130:51 but when I set my image button width and height to wrap_content I see image is loaded as crop I want it to full fit into the image button so that the spacing should not be visible.
when I run the app and tap on the image button I want a feel of state change. But currently I see it looks like a static image and when I tap it really doesn't show the push state changes. To achieve I want to load another image when user does tap event so he can see the state change and feel that button is clicked.
please help me on this.