title: android Why is my RelativeLayout not working
body: <p>Beginner question here!<br>
  look at picture,<br>
  I want the butten-edittext-button to fill the width of the screen.<br>
  The space to type text is to small.<br>
  Any ides?<br>
  (been searching and testing for 3 hour)</p>
  
  <p><img src="https://i.stack.imgur.com/39fWw.png" alt="enter image description here"> </p>
  
  <p>here is my xml</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout android:id="@+id/RelativeLayout1"
      android:layout_width="fill_parent" 
      android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"&gt;
      &lt;Gallery xmlns:android="http://schemas.android.com/apk/res/android"
               android:id="@+id/examplegallery" 
               android:layout_width="fill_parent"
               android:layout_height="wrap_content" /&gt;
     &lt;RelativeLayout 
          android:id="@+id/InnerRelativeLayout"
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true" &gt;
          &lt;Button 
              android:id="@+id/btnNewPen" 
              android:layout_toLeftOf="@+id/edittextaddtext" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Pen"
          /&gt;      
          &lt;EditText 
              android:id="@+id/edittextaddtext"
              android:layout_width="wrap_content"
              android:layout_toLeftOf="@+id/btnsave"
              android:layout_height="wrap_content"
              android:singleLine="true"
              android:text=""
          /&gt;
          &lt;Button 
              android:id="@+id/btnsave" 
              android:layout_alignParentRight="true" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="save"
          /&gt;
     &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>