BottomSheetExample

by rubensousa

A sample project with the new BottomSheet classes from the android support library

129 Stars 30 Forks Last release: Not found 19 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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'

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.