title: Difficult in aligning textview and ratingbar
body: <p>I'm not so expert about XML and i need help to align two elements, a textview and a ratingbar.
  I would to align the ratingbar (the five stars) at the same level of the textview ("user").
  How to do this?</p>
  
  <p><img src="https://i.stack.imgur.com/gcSog.png" alt="enter image description here"></p>
  
  <p>Here is the XML code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@drawable/evento_pressione" &gt;
  
  
      &lt;LinearLayout
          android:id="@+id/viewName"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:minHeight="40dp"
          android:background="@drawable/green_button_pressed" &gt;
  
          &lt;TextView
              android:id="@+id/nameMerchant"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginTop="10dp"
              android:gravity="center_horizontal"
              android:text="Users list"
              android:textAppearance="?android:attr/textAppearanceLarge"
              android:textColor="#f6911e"
              android:textStyle="bold" tools:ignore="HardcodedText"/&gt;
      &lt;/LinearLayout&gt;
  
  &lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_below="@+id/viewName" &gt;
  
      &lt;ImageView
          android:id="@+id/arrow"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignBottom="@+id/userM"
          android:layout_alignParentRight="true"
          android:layout_marginRight="10dp"
          android:layout_alignTop="@+id/userM"
          android:src="@drawable/arrow" /&gt;
  
      &lt;TextView
          android:id="@+id/userM"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_margin="20dp"
          android:layout_marginLeft="21dp"
          android:text="Comune"
          android:textAppearance="?android:attr/textAppearanceMedium"
          android:textColor="#4a4c4d"
          tools:ignore="HardcodedText" /&gt;
  
      &lt;RatingBar
          android:id="@+id/rateM"
          style="?android:attr/ratingBarStyleSmall"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignRight="@+id/arrow"
          android:layout_marginRight="30dp"
          android:layout_margin="20dp"
          android:indeterminate="false"
          android:isIndicator="true"
          android:numStars="@integer/five"
          android:stepSize="1.0" /&gt;
  
      &lt;/RelativeLayout&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>