How to slide the left(or right) menu back by touch with the project of slidingmenu/jfeinstein10?

How to slide the left(or right) menu back by touch with the project of slidingmenu/jfeinstein10?

With slidingmenu/jfeinstein10,we can easily let the slidingmenu to come out by touching the main activity.But if we want to let the menu back or close,we should also touch the main(or center) fragment.So how should I do if I want close the slidingmenu by touching the menu fragment?

Thank you very much!

Answers


you can call the method showContent() in SlidingMenu to hide the menu and show the main activity.


Need Your Help

Using FileOutputStreams and Jena Models in Java Servlets within an Eclipse Web Project

java xml servlets jena fileoutputstream

I have recently created a web project in Java using eclipse. I have a servlet which includes a timer task. This timer tasks calls the "writeList" method of an XML Writing class that I have created....

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.