Allow drawer in tablet view also

Stephen Paul Weber created

Change summary

src/main/res/layout-w945dp/activity_conversations.xml | 14 +++++++++++++
1 file changed, 14 insertions(+)

Detailed changes

src/main/res/layout-w945dp/activity_conversations.xml 🔗

@@ -1,5 +1,10 @@
 <layout xmlns:android="http://schemas.android.com/apk/res/android">
 
+    <androidx.drawerlayout.widget.DrawerLayout
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:fitsSystemWindows="true">
+
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
@@ -35,4 +40,13 @@
                 android:layout_weight="1618" />
         </LinearLayout>
     </LinearLayout>
+
+    <com.mikepenz.materialdrawer.widget.MaterialDrawerSliderView
+        android:id="@+id/drawer"
+        android:layout_width="wrap_content"
+        android:layout_height="match_parent"
+        android:layout_gravity="start"
+        android:fitsSystemWindows="true" />
+
+    </androidx.drawerlayout.widget.DrawerLayout>
 </layout>