I would like to do something like this
I would like to make the top panel slide up when I slide my finger up from the white bar at the bottom of it and the other panel slide up when I slide up from the white bar as well.
What would you recommend doing? I mean, what would be the best solution from your POV?
make a layout name bottom_sheet_dialog_layout.xml
then create a method
go to activity onCreate method in you button action listener call the method.