1

I need to create a List view. However this list view is somewhat of a pull down menu. That is, I have to create a button on top of screen, where on clicking it, a list view will be displayed (pulled down) from top.

Can some one give me an idea about this? I mean, what is this component in Android and how do I go about it creating it?

I know the normal way of creating a list view but not this.

Mechanical snail
  • 29,755
  • 14
  • 88
  • 113
Joyson
  • 1,643
  • 5
  • 28
  • 48

3 Answers3

2

Hey thanks all for your replies i finally got want i wanted to implement.The following link helped me achieve it: http://techdroid.kbeanie.com/2009/08/android-sliding-drawer-example.html

Joyson
  • 1,643
  • 5
  • 28
  • 48
1

Typically you would use a Single Choice Dialog.

http://developer.android.com/guide/topics/ui/dialogs.html#AddingAList

Pork 'n' Bunny
  • 6,740
  • 5
  • 25
  • 32
1

If you want to do it Pull-down-from-top. You'll need to use Panel Custom view from this project. If a pull-from-below will suffice, use a Sliding Drawer. (From Android 3.0, Sliding Drawer can be configured to be pulled down aswell. See Here)

Have the Listview inside the Drawer/Panel.

Community
  • 1
  • 1
st0le
  • 33,375
  • 8
  • 89
  • 89