I am developing an app in which the main display needs to be as uncluttered as possible, but with quick and easy access to menu controls.
What I would like to implement is similar to the main pulldown control (for Data, WiFi, BT on/off and so on) but am unsure what would be the best way to go about it.
I'm very new to Android and quite new to Java (not to programming in general, although my main focus is embedded development in C) so aside from a complete answer, any basic advice would be most appreciated.
Asked
Active
Viewed 218 times
1

Oli Glaser
- 123
- 5
-
2Search a bit around for [SlidingDrawer](http://developer.android.com/reference/android/widget/SlidingDrawer.html) examples, maybe that's what you are looking for. – Aug 17 '12 at 18:03
-
@alextsc - thanks, I'm looking now, seems to be what I'm after. – Oli Glaser Aug 17 '12 at 18:32
2 Answers
1
It's called a Sliding Drawer. Look at the examples online and follow the documentation, you will be fine.

Mus
- 1,860
- 2
- 16
- 19
1
See my example here. Its uses the sliding drawer with a custom view.

Bear
- 1,541
- 3
- 20
- 32
-
Had a couple of build issues, it was late so I went off to sleep. Just looking again now, will update you as soon as I know more... – Oli Glaser Aug 18 '12 at 08:30
-
I (think I) needed to update the SDK, so I'm currently having fun with [this issue](http://stackoverflow.com/questions/8559682/cant-upgrade-android-sdk-tools).... Copying the folder didn't work for me, so I'm just installing again. – Oli Glaser Aug 18 '12 at 11:21
-
Okay, managed to get it running and it seems to be just what I need - just need to tweak it for my app. Thanks! – Oli Glaser Aug 18 '12 at 14:20