I am trying to round corners on an android ImageButton, the code looks like this;
Use this: Put this in res/drawable folder
my_gradient.xml
In your ImageButton Just put:
android:background="@drawable/my_gradient"