title: Android: how to make a view grow to fill available space?
body: <p>This seems straightforward, but I can't figure out how to do it.  I have a horizontal layout with an EditText and two ImageButtons.  I want the ImageButtons to be of a fixed size, and the EditText to take up the remaining space in the layout.  How can this be accomplished?</p>
  
  <pre><code>&lt;LinearLayout 
          android:orientation="horizontal"
          android:layout_width="fill_parent" 
          android:layout_height="wrap_content"&gt;
          &lt;EditText 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"&gt;
          &lt;/EditText&gt;
          &lt;ImageButton 
              android:src="@drawable/img1"
              android:layout_width="50dip" 
              android:layout_height="50dip"&gt;
          &lt;/ImageButton&gt;
          &lt;ImageButton 
              android:src="@drawable/img2"
              android:layout_width="50dip" 
              android:layout_height="50dip"&gt;
          &lt;/ImageButton&gt;
  &lt;/LinearLayout&gt;
  </code></pre>