activity_conversations.xml

 1<layout xmlns:android="http://schemas.android.com/apk/res/android">
 2
 3    <LinearLayout
 4        android:layout_width="match_parent"
 5        android:layout_height="match_parent"
 6        android:fitsSystemWindows="true"
 7        android:orientation="vertical">
 8
 9        <com.google.android.material.appbar.AppBarLayout
10            android:id="@+id/app_bar_layout"
11            android:layout_width="match_parent"
12            android:layout_height="wrap_content">
13
14            <com.google.android.material.appbar.MaterialToolbar
15                android:id="@+id/toolbar"
16                android:layout_width="match_parent"
17                android:layout_height="wrap_content"
18                android:minHeight="?attr/actionBarSize" />
19
20        </com.google.android.material.appbar.AppBarLayout>
21
22        <LinearLayout
23            android:layout_width="match_parent"
24            android:layout_height="match_parent">
25
26            <FrameLayout
27                android:id="@+id/main_fragment"
28                android:layout_width="0dp"
29                android:layout_height="match_parent"
30                android:layout_weight="1000" />
31
32            <FrameLayout
33                android:id="@+id/secondary_fragment"
34                android:layout_width="0dp"
35                android:layout_height="match_parent"
36                android:layout_weight="1618" />
37        </LinearLayout>
38    </LinearLayout>
39</layout>