ActionBar and sliding out menu in android

2019-06-25 23:35发布

I just want to create an action bar as foursquare app. enter image description here

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

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

2条回答
Deceive 欺骗
2楼-- · 2019-06-25 23:39

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

查看更多
Luminary・发光体
3楼-- · 2019-06-25 23:53

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

Read about Navigation Drawer for more details.

查看更多
登录 后发表回答