title: How to create image button in android?
body: <p>So I'm new to android development...How can I create an image that acts like button, so when I press that image, image starts a specific activity.
  So I want this to show as image:</p>
  
  <pre><code> &lt;Button
      android:id="@+id/button1"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true"
      android:layout_marginTop="33dp"
      android:text="Button" /&gt;
  </code></pre>