How to implement a vertically sliding slice / panel, for example, Google music in an Android application?

I am trying to create a sliding panel that slides to collapse / expand vertically rather than horizontally.

I tried the Umano library , but for me it is of poor quality, because I use fragments, not actions.

Any way to implement this with fragments?

Thanks.

+6
source share
2 answers

Well, if someone wants to know, I used the Umano Library the bugs were fixed using the git manager. It works great.

+3
source

which is called SlidingDrawer (which is deprecated with a level 17 API), so I would not recommend using it unless you use fork it from the SDK as your own

Examples of SlidingDrawer:

http://www.coderzheaven.com/2011/12/01/slidingdrawer-in-android-a-simple-example/

http://androiddeveloperspot.blogspot.com/2013/05/slidingdrawer-in-android-example.html

http://w2davids.wordpress.com/android-damn-that-sliding-drawer/

SlidingPaneLayout does this SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content. SlidingPaneLayout provides a horizontal, multi-pane layout for use at the top level of a UI. A left (or first) pane is treated as a content list or browser, subordinate to a primary detail view for displaying content.

you can view the slide bar in the new hangout app

+4
source

Source: https://habr.com/ru/post/947139/


All Articles