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
to be used with CoordinatorLayout
BottomSheetDialog
which is a dialog with a bottom sheet behaviorBottomSheetDialogFragment
which is an extension of DialogFragment
, that creates a BottomSheetDialog
instead of a standard dialog.