ActionBar and sliding out menu in android

99封情书 提交于 2019-12-12 12:25:25

问题


I just want to create an action bar as foursquare app.

and i want to show a slide out menu when the home button pressed just like the image shown.

I am able to create the custom action bar but not like the first image. Please provide any tutorial which will help to create the Action bar


回答1:


You may use the version included in the Google Android SDK (instead of an 3rd party lib.)

Read about Navigation Drawer for more details.




回答2:


SlidingMenu is a great and easy-to-use library for this.

edit: Sorry, thought the question was only about the slide-in menu. For actionbar, your best library will be ActionbarSherlock



来源:https://stackoverflow.com/questions/15129985/actionbar-and-sliding-out-menu-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!