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:orientation="vertical">
 7
 8        <com.google.android.material.appbar.AppBarLayout
 9            android:id="@+id/app_bar_layout"
10            android:layout_width="match_parent"
11            android:layout_height="wrap_content">
12
13            <com.google.android.material.appbar.MaterialToolbar
14                android:id="@+id/toolbar"
15                android:layout_width="match_parent"
16                android:layout_height="wrap_content"
17                android:minHeight="?attr/actionBarSize" />
18
19        </com.google.android.material.appbar.AppBarLayout>
20
21        <LinearLayout
22            android:layout_width="match_parent"
23            android:layout_height="match_parent">
24
25            <FrameLayout
26                android:id="@+id/main_fragment"
27                android:layout_width="0dp"
28                android:layout_height="match_parent"
29                android:layout_weight="1000" />
30
31            <FrameLayout
32                android:id="@+id/secondary_fragment"
33                android:layout_width="0dp"
34                android:layout_height="match_parent"
35                android:layout_weight="1618" />
36        </LinearLayout>
37    </LinearLayout>
38</layout>