If I look farther than others, it is because I stand on the shoulders of giants.
GitHub Address: Https://github.com/jfeinstein10/SlidingMenu
Settings: 1, after download as a dependency in the form of adding to the project.2. If you want to integrate Actionbarsherlock, add to Slidingmenu in the form of a dependency and then use it to inheritsherlockactivitiescan be. Use: 1, directly through the code to achieve. 2, through the inheritance slidingactivity realization. 3, directly in the XML layout inside the use. All of the above examples can be found in GitHub for this project, and the relevant functions are explained in detail. Note: 1, Behindoffset and behindwidth These two parameters cannot be set at the same time, otherwise there may be an error. 2, above refers to the upper layer (the main content), behind refers to the background (sliding content) Example: The following list some important functions and roles. SetMode settings mode, including left, right, left and right slide menu. Settouchmodeabove sets the main content of the touch mode, including fullscreen, margin, none. Settouchmodebehind setcontent setting above Viewsetmenu settingsbehind's view
Setsecondarymenu Setting the right side of the slide content
Setbehindoffset sets the margin on the opposite side when the slide content is completely scratched. Setbehindwidth sets the width after which the slide content is scratched. Setbehindscrollscale set the sliding range of the slide content (the left-to-right dynamic effect of the slide-through content in the process, set to 0 the slide content fixed) PS: Some students certainly want to achieve the upper menu sliding, and the bottom content does not understand the effect, that is, the cover drawer effect, but unfortunately slidingmenu this open source control can not be implementedcan useAndroid.support.v4.widget.DrawerLayout achieve this effect, or use another open source controlMenudrawer.
From for notes (Wiz)
Android Open Source Library--slidingmenu left and right slide menu