how to use tools:openDrawer = "bottom"

283 Views Asked by At

I want to open my Drawer at the bottom but i could not is there any one who could solve my issue???

<android.support.v4.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    tools:openDrawer="bottom"
    android:background="#FFFFFF"
    android:id="@+id/drawer_layout">
1

There are 1 best solutions below

0
Oussema Aroua On

DrawerLayout can't be use from bottom or up it's only for vertical sides(left, right) for bottom you need to use BottomSheetDialogFragment or BottomSheetBehavior