title: How can I stretch the image in imagebutton to the whole area of the imagebutton?
body: <p>Here is a picture that will help you understand my problem:</p>
  
  <p><img src="https://i.stack.imgur.com/qdezj.png" alt="It&#39;s a &quot;1&quot;"></p>
  
  <p>I want to stretch the image shown inside <code>ImageButton</code> to the whole area of the <code>ImageButton</code>.
  As you can see, the picture with the number 1 only take about 95% of the <code>ImageButton</code> and you can also see the boundaries of the <code>ImageButton</code>.</p>
  
  <p><strong>I still want to maintain the image button style</strong></p>
  
  <p>Here's how I am using ImageView:</p>
  
  <pre><code>&lt;ImageButton
      android:id="@+id/secondActivityBbuttonDownRight"
      android:layout_width="0dip"
      android:layout_height="match_parent"
      android:layout_weight="0.5"
      android:scaleType="fitStart"
      android:src="@drawable/111" /&gt;
  </code></pre>
  
  <p><strong>I think I found out what is my problem.
  I need a custom component that can contain only an image and have a clicking effect.</strong></p>