rubensousa / Bottomsheetexample
A sample project with the new BottomSheet classes from the android support library
Stars: ✭ 129
Programming Languages
java
68154 projects - #9 most used programming language
BottomSheetExample
A sample project with the new BottomSheet classes from the android support library
For a simpler integration, consider using this: https://github.com/rubensousa/BottomSheetBuilder
Modes included
- Simple view (A LinearLayout is used in this sample)
- BottomSheetDialog
- BottomSheetDialogFragment
Simple view how-to
-
Place a new view as a direct child of CoordinatorLayout (preferably as the last one, so it lays on top of all other views)
-
Set it's behavior to:
app:layout_behavior="@string/bottom_sheet_behavior"
Screenshots
Dependencies
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:design:24.1.1'
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].