문제

I'm trying to create a sliding panel that slides to collapse / expand vertically and not horizontally.

I've tried Umano's Library but it's kind of buggy for me, because I'm using Fragments, and not Activities.

Any way to implement this with fragments?

Thanks.

도움이 되었습니까?

해결책 2

Well if any one wants to know, i Did used Umano's Library bugs were fixed using the git manager. Works great.

다른 팁

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

SlidingDrawer Examples:

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.

you can view the sliding pane in the new hangouts app

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top