title: How to make buttons cover full screen width in Android Linear Layout?
body: <p>I have following three button in a Linear Layout with width <code>fill_parent</code>.</p>
  <p>How can I set the width of these buttons to equally cover the whole screen area?</p>
  <pre><code>&lt;Button 
     android:layout_width=&quot;wrap_content&quot; 
     android:layout_height=&quot;wrap_content&quot; 
     android:id=&quot;@+id/btnReplyMessage&quot; 
     android:gravity=&quot;left&quot;
     android:text=&quot;Reply&quot; 
  /&gt;
      
  &lt;Button 
     android:layout_width=&quot;wrap_content&quot; 
     android:layout_height=&quot;wrap_content&quot; 
     android:id=&quot;@+id/btnMarkAsUnread&quot;
     android:gravity=&quot;left&quot; 
     android:text=&quot;Mark as unread&quot; 
  /&gt;
              
  &lt;ImageButton 
     android:id=&quot;@+id/btnDeleteMessage&quot;
     android:src=&quot;@drawable/imgsearch&quot;
     android:gravity=&quot;right&quot; 
     android:layout_height=&quot;wrap_content&quot;
     android:layout_width=&quot;wrap_content&quot;
     android:layout_alignParentRight=&quot;true&quot;
   /&gt;
  </code></pre>