BottomSheet is an Android component which presents a dismissible view from the bottom of the screen. BottomSheet can be a useful replacement for dialogs and menus but can hold any view so the use cases are endless. This repository includes the BottomSheet component itself but also includes a set of common view components presented in a bottom sheet. These are located in the commons module. The IntentPickerSheetView component presents an intent chooser in the form of a BottomSheet view. Give it an intent such as a share intent and let the user choose what activity they want to share the intent with in a BottomSheet. The MenuSheetView component presents a BottomSheet view that's backed by a menu. It behaves similarly to the new NavigationView in the Design support library, and is intended to mimic the examples in the Material Design spec. It supports list and grid states, with the former adding further support for separators and subheaders.
Features
- Presents a dismissible view from the bottom of the screen
- Useful replacement for dialogs and menus
- Can hold any view so the use cases are endless
- Provides an intent chooser in the form of a BottomSheet view
- BottomSheet view that's backed by a menu
- Supports list and grid states