Make sure the following dependency is added to your app’s build.gradle file under dependencies:
compile 'com.android.support:design:25.3.1'
Then you can use the Bottom sheet using these options:
[BottomSheetBehavior](<http://stackoverflow.com/documentation/android/5702/bottom-sheets/20210/persistent-bottom-sheets#t=201608301145032285163>)
to be used with CoordinatorLayout
[BottomSheetDialog](<http://stackoverflow.com/documentation/android/5702/bottom-sheets/20212/modal-bottom-sheets-with-bottomsheetdialog#t=201608301144231482377>)
which is a dialog with a bottom sheet behavior[BottomSheetDialogFragment](<http://stackoverflow.com/documentation/android/5702/bottom-sheets/20211/modal-bottom-sheets-with-bottomsheetdialogfragment#t=201608301144351087301>)
which is an extension of DialogFragment
, that creates a BottomSheetDialog
instead of a standard dialog.