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 image or set the background color to be transparent. I tried to set a black background, but it didn't make any effect...
You can use android:background="@null"
for your ImageButton.
See also:
Android Developers official guide on Buttons
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With