How to set TextView after other element
<p>I have a xml file with the design of my app. In this one, I want to set a TextView after a LinearLayout. But how can I do this? It displays it always in my other elements. Is there something like a "margin_top_elemnt_by_id"? I hope you know what I mean. </p>

<p>I talk about post_view_maintext</p>

<p></p>

<pre><code>&lt;android.support.design.widget.AppBarLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:theme="@style/AppTheme.AppBarOverlay"&gt;


&lt;/android.support.design.widget.AppBarLayout&gt;


&lt;ImageView
    android:layout_width="1440px"
    android:layout_height="1000px"
    android:id="@+id/post_view_photo"
    android:transitionName="@string/transition_image"/&gt;



&lt;android.support.design.widget.FloatingActionButton
    android:id="@+id/fab"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_vertical|start"
    android:layout_margin="@dimen/fab_margin"
    app:layout_anchor="@+id/post_view_photo"
    android:src="@android:drawable/stat_notify_chat"
    app:layout_anchorGravity="bottom|end" /&gt;
&lt;LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:background="@color/colorPrimary"
    app:layout_anchor="@+id/post_view_photo"
    app:layout_anchorGravity="bottom|start"&gt;
    &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/username_text"
        android:layout_gravity="center_vertical|start"
        app:layout_anchor="@+id/post_view_photo"
        app:layout_anchorGravity="bottom|start"
        android:textSize="25dp"
        android:transitionName="@string/transition_username"/&gt;
&lt;/LinearLayout&gt;
&lt;LinearLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="horizontal"&gt;
    &lt;View
        android:layout_width="fill_parent"
        android:layout_height="2dp"
        android:background="#414141"/&gt;
    &lt;TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/post_view_maintext"/&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>

<p>Thanks!</p>