with ImageButton , I use android:background=”@null” and an image with transparent pixels and text on it
the problem is sometimes , click are not detected. I suppose this is related to transaprent pixels, because if I remove android:background=”@null” I dont have any problem
Can you try using:
Here, the 1st 2 zeros indicates that your background should be transparent (ARGB format), where A is the alpha (transparency)