title: How to place center of layout on top-right corner of another layout?
body: <p>I have:</p>
  
  <pre><code>&lt;RelativeLayout style="@style/w_w"
    android:gravity="top|center" 
    android:layout_marginBottom="10sp"&gt;
      &lt;ImageView android:id="@+id/icon" style="@style/w_w"
          android:layout_alignParentRight="true"
          android:layout_centerVertical="true"
          android:src="@drawable/icon"
      /&gt; 
      &lt;TextView android:text="F" android:id="@+id/temp" style="@style/w_w"
          android:textColor="#ffffff"
          android:textSize="10sp"
          android:textStyle="bold"
          android:gravity="top|center"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><code>@style/w_w</code> - layout_height="wrap_content"=layout_width.</p>
  
  <p>Now <code>&lt;TextView /&gt;</code>'s right-top is in right-top corner of <code>&lt;RelativeLayout /&gt;</code>, but I'd like to place <code>&lt;TextView /&gt;</code>'s center in right-top corner of <code>&lt;ImageViwq /&gt;</code>.</p>
  
  <p>How should I construct my XML file?</p>