In ImageButton
I want to remove the standard button background image. In http://developer.android.com it is said, that one must define his\\her own background i
The best choice is not set a transparent background to your ImageButton
.
Give to your user a feedback when the button is tapped.
android:background="?attr/selectableItemBackgroundBorderless"
ImageButton.setBackgroundResource(0)
Use:
android:background="@null"
in your layout xml.
YourImageButton.setBackgroundColor(Color.TRANSPARENT);