title: how to put image in the center of the button
body: <p>I want to put the image in the center of the button.I want to use only linear layout.Any help will be great.Here is my layout.</p>
  
  <pre><code>    &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:weightSum="5"
      &gt;
    &lt;Button
   android:layout_width="0dp"
   android:layout_height="match_parent"
    android:layout_weight="1"
   android:layout_gravity="center"
   android:drawableTop="@drawable/home"
  /&gt;
      &lt;/LinearLayout&gt;
  </code></pre>