title: Getting distorted layout of bottom layout
body: <p>I am trying to make a bottom layout like in the image 1.</p>
  
  <p><img src="https://i.stack.imgur.com/3KPju.png" alt="correct image"></p>
  
  <p>But when application works, the bottom layout gets stretched on big screen like in image 2:
  <img src="https://i.stack.imgur.com/5CRyi.png" alt="incorrect image"></p>
  
  <p>Here is the source...</p>
  
  <pre><code>&lt;RelativeLayout 
      android:id="@+id/bottom_layout"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:background="@layout/footer_color"
      android:layout_alignParentBottom="true"&gt;
  &lt;LinearLayout
      android:id="@+id/bottom_layout1"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:weightSum="1.0"
      android:orientation="horizontal"&gt;
  
  &lt;Button 
      android:id="@+id/bottom_layout11"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight="0.2"
      android:gravity="center" 
      android:background="@drawable/profile_01"/&gt;
  &lt;Button 
      android:id="@+id/bottom_layout12"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:layout_weight="0.2"
      android:background="@drawable/profile_01"/&gt;
  &lt;Button 
      android:id="@+id/bottom_layout13"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight="0.2" 
      android:gravity="center"
     android:background="@drawable/profile_01"/&gt;
   &lt;Button 
      android:id="@+id/bottom_layout14"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight="0.2"
      android:gravity="center"
      android:background="@drawable/profile_01"/&gt;
    &lt;Button 
      android:id="@+id/bottom_layout15"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_weight="0.2"
      android:gravity="center"
      android:background="@drawable/profile_01"/&gt;
  
      &lt;/LinearLayout&gt;
      &lt;/RelativeLayout&gt;  
  </code></pre>
  
  <p>required- footer layout with equal space on all resolution without stretching.</p>
  
  <p>I am not getting where should i improve the code. please reply .</p>
  
  <p>Thanks in advance.</p>