Hello, I'm developing a home screen, and it has 1 toolbar and 2 linearLayouts dividing the screen into 2. the problem is that the toolbar is behind the layouts and does not appear when it executes. how do I bring the toolbar to the forefront over the linearlayout?
<?xmlversion="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar
android:id="@+id/tb_main"
android:layout_height="?attr/actionBarSize"
android:layout_width="match_parent"
android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:layout_alignParentLeft="true"
android:layout_margin="8dp"
android:elevation="4dp"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true">
<LinearLayout
android:layout_weight="0.5"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"></LinearLayout>
<LinearLayout
android:layout_weight="0.5"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"></LinearLayout>
</LinearLayout>