Krupen / FabulousFilter

Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Apache License 2.0
2.67k stars 324 forks source link

Prevent scroll down past peek height #23

Closed TheCodeN00b closed 5 years ago

TheCodeN00b commented 5 years ago

Hi. Thanks for the amazing work done so far. I was wondering if there was a way to prevent the view from scrolling past the peeking height and to not be cancelled when clicking outside the view. I am setting up two buttons on the bottom, one is Save and the other Cancel, which I want to use to close the view so that each time the closing animation is displayed. Thanks in advance

TheCodeN00b commented 5 years ago

Never mind, I figured it out. I just added setCancellable(false).