java - 怎么加一个按钮点击就到侧滑页面啊,求大神指教
PHPz
PHPz 2017-04-18 10:00:11
0
8
319

怎么加按钮点击就到侧滑页面啊啊,求大神指教,看图

PHPz
PHPz

学习是最好的投资!

reply all(8)
洪涛

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

Ty80

Add a button to listen for turning on side sliding, and use a boolean variable to control the switch state

阿神

DrawLayout

PHPzhong

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/...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template