title: Android_RelativeLayout - How to put two elements on the same line?
body: <p>The question is: I have a TextView and an EditText, how can I place them on the same "level"?</p>
  
  <p><a href="http://postimage.org/image/o9l17a3zv/" rel="nofollow">http://postimage.org/image/o9l17a3zv/</a></p>
  
  <p>As you can see, I want to put "Username" on the same level of the EditText...</p>
  
  <p>Here my code:</p>
  
  <pre><code>&lt;TextView
      android:id="@+id/account_creation"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:text="@string/account_creation"
      android:textSize="20sp"
      android:textStyle="bold" /&gt;
  
  &lt;!-- Username --&gt;
  
  &lt;TextView
      android:id="@+id/username_registration"
      android:layout_width="0dp"
      android:layout_height="wrap_content"
      android:layout_alignParentLeft="true"
      android:layout_below="@id/account_creation"
      android:layout_toLeftOf="@+id/username_new_account"
      android:text="@string/user_text"
      android:textSize="15sp" /&gt;
  
  &lt;EditText
      android:id="@+id/username_new_account"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_below="@id/account_creation"
      android:layout_alignParentRight="true"
      android:ems="10"
      android:hint="@string/user_editext" &gt;
  
      &lt;requestFocus /&gt;
  &lt;/EditText&gt;
  </code></pre>
  
  <p>I was thinking to put the same value of "height" on both of them, but i don't know if it's the right/better way...</p>