title: How do Instagram layout comment textview and user name textview together as one?
body: <p>I was thinking of the Instagram comment card layout. The layout bounds are shown as the below,</p>
  
  <p><a href="https://i.stack.imgur.com/7XbDz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7XbDz.png" alt="enter image description here"></a></p>
  
  <p>In the purplish block, two TextViews are aligned as a single one, both are clickable as separate. One navigates to user's page and the other selects the comment card. How is it possible? I can only think of it as a LinearLayout/RelativeLayout with two textviews, how can we get it look and behave like this?</p>
  
  <pre><code> &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_marginRight="60dp"
          android:layout_marginBottom="20dp"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="\@someusername"
              android:id="@+id/comment_username"
              android:layout_marginLeft="15dp"
              android:textSize="18sp"
              android:textStyle="bold"/&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. "
              android:layout_marginLeft="5dp"
  
              android:textSize="18sp"
              android:layout_toRightOf="@+id/comment_username"
              android:id="@+id/comment"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>which is rendered as the pic below,</p>
  
  <p><a href="https://i.stack.imgur.com/FuvzJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FuvzJ.jpg" alt="enter image description here"></a></p>
  
  <p>How do Instagram make the layout looks like the above pic?</p>