title: android layout AlignParent right its be match parent
body: <p>this is my 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"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content"
  android:orientation="horizontal"
  android:layout_alignParentTop="true"
  android:layout_alignParentLeft="false"
  android:layout_alignParentRight="true"
  android:layout_centerVertical="true"
  &gt;
  
  
  
  
  
      &lt;customfonts.RoundedImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/ssz"
          android:id="@+id/profile" /&gt;
  
  
  
  
  
  
      &lt;customfonts.MyTextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:background="@drawable/circulo"
          android:text="2"
          android:gravity="center_vertical|center_horizontal"
          android:textSize="13dp"
          android:textColor="#fff"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="false"
          android:layout_alignParentRight="false"
          /&gt;
  
  
  
  
        &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>the result image </p>
  
  <p><a href="https://i.stack.imgur.com/PDZRK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PDZRK.png" alt="enter image description here"></a></p>
  
  <p>now the result good but when i try to make the text on right of image by use </p>
  
  <pre><code> android:layout_alignParentRight="true"
  </code></pre>
  
  <p>on <code>textView</code></p>
  
  <p>result will be like this</p>
  
  <p><a href="https://i.stack.imgur.com/Uq47R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Uq47R.png" alt="enter image description here"></a></p>
  
  <p>how can i solve it and make the <code>textView</code> align on right image </p>