jfeinstein10 / SlidingMenu

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!
Apache License 2.0
11.07k stars 5.04k forks source link

Can I use two slidemenu? #190

Closed Yria closed 11 years ago

Yria commented 11 years ago

I want to use Slidemenu to left and right. Can I try it?

hwrdprkns commented 11 years ago

Absolutely. There is even support for this in the library, there's no need to create two instances of SlidingMenu!

Yria commented 11 years ago

Thank you for your response! What I meant to ask was if I can use both rightside and left side sliding menu in one same screen(view). How would I be able to do this?

hwrdprkns commented 11 years ago

Not sure what you're asking. You can have both a left and right sliding menu in one activity. You can't show them both at the same time.

Yria commented 11 years ago

I'm Sorry. I do not understand this library now until. I solved problem. setContentView, setBehindContentView, setSecondaryMenu are use other view. Thank you for your help.


Oh, I understand. but this library show same view in two sliding menu. I want to show difference view in two sliding menu. (ex: android facebook official app)

hwrdprkns commented 11 years ago

setContentView sets the content of the above view. setBehindContentView sets the content of the left menu setSecondaryMenu sets the content of the right menu