Sliding menu: closed, half-open and open

in an android app, I need to do the following:

I have a view that acts like a menu, I can slide it from bottom to top. However, I want to have 3 states: closed, half-open and open.

Please refer to this picture:

Closed.  half-opened.  opened

The blue section is the handle, the user will use it to move up / down or drop ...

It's a bit like android 5 notification bar where you drag it to show half of the view, then another drag will show the whole view.

I can start implementing it in the onTouch of the blue section, but that will require me to handle many cases, especially those where the user is throwing against slow resistance .... Is there an easier way or library that might help?

Many thanks

+3
android slidingdrawer


source to share


No one has answered this question yet

Check out similar questions:

3606
Close / hide Android soft keyboard
23
sliding one piece over another in android
2
Android Sliding Menu - username and image in it. How can I download them once and for all
2
Creating a sliding menu
1
Android - simple code to enable notification bar
1
how to implement umano / AndroidSlidingUpPanel lib
1
sliding drawer with contents underneath
1
Create a sliding menu with an image overlay
-2
Android How to make a sliding menu?



All Articles
Loading...
X
Show
Funny
Dev
Pics