質問

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