怎么加按钮点击就到侧滑页面啊啊,求大神指教,看图
学习是最好的投资!
This can be achieved using the built-in DrawLayout. For details, you can search on Baidu,
Search for Android design support library by yourself Or directly create a new project and check Navigation Drawer Activity
Add a button to listen for turning on side sliding, and use a boolean variable to control the switch state
DrawLayout
Use DrawLayoutdrawerLayout.openDrawer(Gravity.LEFT);//Follow the parameters
Google official sidebar menu Demohttps://github.com/googlesamp...
ActionBar has events, it can be easily implemented with SlideMenu
Recommend a simple examplehttp://www.jcodecraeer.com/a/...
This can be achieved using the built-in DrawLayout. For details, you can search on Baidu,
Search for Android design support library by yourself
Or directly create a new project and check Navigation Drawer Activity
Add a button to listen for turning on side sliding, and use a boolean variable to control the switch state
DrawLayout
Use DrawLayout
drawerLayout.openDrawer(Gravity.LEFT);//Follow the parameters
Google official sidebar menu Demo
https://github.com/googlesamp...
ActionBar has events, it can be easily implemented with SlideMenu
Recommend a simple example
http://www.jcodecraeer.com/a/...