soarcn / BottomSheet

One way to present a set of actions to a user is with bottom sheets, a sheet of paper that slides up from the bottom edge of the screen. Bottom sheets offer flexibility in the display of clear and simple actions that do not need explanation.
http://soarcn.github.io/BottomSheet
2.22k stars 408 forks source link

Question: is it possible to make the content scroll till it cover the whole screen? #97

Closed AndroidDeveloperLB closed 8 years ago

AndroidDeveloperLB commented 8 years ago

And then even scroll more if the content has a scrolling view? Maybe even have a CollapsingToolbarLayout ?

soarcn commented 8 years ago

No plan to do this.

AndroidDeveloperLB commented 8 years ago

Too bad. That's how it works on the material design guidelines: https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0Bzhp5Z4wHba3YXA2Y3RoSnhPM2c/components_bottomsheets_modal6.png

taken from: https://www.google.com/design/spec/components/bottom-sheets.html#bottom-sheets-modal-bottom-sheets

soarcn commented 8 years ago

Because this library is dialog based model view, the sample you provide is a Persistent Bottom Sheets. You can turn to flipboard's bottomsheet for that purpose.

AndroidDeveloperLB commented 8 years ago

@soarcn I know, but it has its own issues there :(

soarcn commented 8 years ago

@AndroidDeveloperLB Googler said they have plan of offical bottomsheet, so I decided not to rewrite a view based bottomsheet. Model Bottom Sheet is the boundry of this library.

AndroidDeveloperLB commented 8 years ago

@soarcn Yes, they said it, but it was promised quite a long time ago, and I was assigned to use bottom sheet, so I can't use something that doesn't exist yet.

soarcn commented 8 years ago

I reckon you need to fork flipboard's bottomsheet can modify it for your own purpose :)

AndroidDeveloperLB commented 8 years ago

@soarcn I already did, kinda : https://github.com/AndroidDeveloperLB/ThreePhasesBottomSheet I wish to fix there some bugs, and make it look a bit nicer.