I had a TitleBar(#lotTopTitleBar) in the LinearLayout, and the LinearLayout will be full size of the screen, now, I want show a View(#lotFloatView) reference the TitleBar below, but both view aren't at the same level container, so the layout_below doesn't work, if anybody know about that, please help me a change.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout android:id="@+id/lotTopTitleBar"
android:layout_width="match_parent"
android:layout_height="50dp">
</LinearLayout>
<LinearLayout android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
</LinearLayout>
<LinearLayout android:layout_width="match_parent"
android:layout_height="50dp">
</LinearLayout>
</LinearLayout>
<LinearLayout android:id="@+id/lotFloatView"
android:layout_width="120dp"
android:layout_height="wrap_content"
android:layout_below="@id/lotTopTitleBar">
<Button android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@null" />
<Button android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@null" />
</LinearLayout>
</RelativeLayout>