title: how to customize image button in android
body: <p>i am new in android development , it very difficult to design customized user interface in </p>
  
  <p>android . i have a image button that have default shap is ractangle i need do it as </p>
  
  <p>rounded </p>
  
  <p>shap please help me .</p>
  
  <p>
  
  <pre><code>xmlns:tools="http://schemas.android.com/tools"
  
  android:layout_width="match_parent"
  
  android:layout_height="match_parent"
  
  android:background="#82B210"
  
  android:paddingBottom="@dimen/activity_vertical_margin"
  
  android:paddingLeft="@dimen/activity_horizontal_margin"
  
  android:paddingRight="@dimen/activity_horizontal_margin"
  
  android:paddingTop="@dimen/activity_vertical_margin"
  
  tools:context=".SettingActivity" &gt;
  
  
  
  &lt;ImageButton
  
      android:id="@+id/imageButton1"
  
      android:layout_width="wrap_content"
  
      android:layout_height="wrap_content"
  
      android:src="@drawable/makeconfess" /&gt;
  
  
  
  &lt;TextView
  
      android:id="@+id/textView1"
  
      android:layout_width="wrap_content"
  
      android:layout_height="wrap_content"
  
      android:layout_alignLeft="@+id/imageButton1"
  
      android:layout_alignRight="@+id/imageButton1"
  
      android:layout_below="@+id/imageButton1"
  
      android:layout_marginTop="27dp"
  
      android:text="  Make a\nConfess"
  
      android:textColor="#FFFFFF"
  
      android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  </code></pre>
  
  <p></p>