Ashraf
Ashraf

Reputation: 3202

How to create a sidebar in android

I developing a android application which required a sidebar as like as samsung sidebar. The sidebar contains multiple controls respectively.

For reference: http://www.thinkdigit.com/FCKeditor/uploads/samsung-corby-s3650-2.jpg

Upvotes: 4

Views: 8415

Answers (3)

DarkCygnus
DarkCygnus

Reputation: 7838

Seems that the Sliding Drawer is now deprecated since API Level 17.

The current way to do this seems to be using Drawer Layout to create a Navigation Drawer, which can be used by interacting with the Top Navigation button (the hamburger) or well by swiping from the left of the screen.

If you want you can also check this and this questions for more details and information.

Upvotes: 1

Harsh Dev Chandel
Harsh Dev Chandel

Reputation: 763

Its a listview placed within a sliding drawer you can add items in listview and scroll it hidding and unhidding part is done by slidding drawer

Upvotes: 0

Hussain
Hussain

Reputation: 5562

Please take a look at the Sliding Drawer concept in android. You can make use of it to develop the sidebar.

Sliding Drawer.

How to make an Android SlidingDrawer slide out from the left?

http://androidblogger.blogspot.com/2009/01/sliding-drawer-again.html

Upvotes: 7

Related Questions