title: ImageButton (right-aligned, fixed width) and EditText (left-aligned, remaining space width)
body: <p>I'm trying to put, in the same row, an <code>ImageButton</code> (right align, fixed width) and an <code>EditText</code> (left align, taken up all the remaining space), but I can't.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="50dp"
      android:orientation="horizontal"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;EditText
      android:layout_gravity="center_vertical"
      android:layout_width="fill_parent"
      android:layout_height="40dp"
      android:text="EditText"
      android:textSize="18sp" /&gt;
  &lt;ImageButton
      android:layout_gravity="center_vertical"
      android:layout_width="40dp"
      android:layout_height="40dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I can't use the property <code>"layout_weight"</code> because I want to fix the width of the <code>ImageButton</code>. If I use <code>"layout_width=fill_parent"</code> in the <code>EditText</code>, the <code>ImageButton</code> disappears.</p>
  
  <p>Could you help me?</p>
  
  <p>Thanks!!!</p>