I’m trying to find out how I can create a pop-up menu bar, after I press on a checkbox item, so I can do multiple things like delete..
I’ve taken this idea from the Android videos:Google I/O 2009 -…Interaction & Visual Design with Android (link: http://developer.android.com/videos/index.html#v=wdGHySpipyA)
, the 25:58 min.
Here is a screen shot I’ve made:
http://photos-c.ak.fbcdn.net/hphotos-ak-snc3/hs196.snc3/20366_322904078985_613608985_4870141_6451460_n.jpg
If anyone know about any tutorial, or article it will be fully estimated!
You just need to add a button bar
Viewat the bottom of your layout which initially hasandroid:visibility="gone".In your
ListViewonItemClickmethod, set the button bar’s visibility toView.VISIBLE(or back toGONE) as appropriate.You can also use a simple
TranslateAnimationto make the bar slide in and out at the same time you set it as visible/gone.For example, in
res/anim/slide_out.xml:And when you mark the button bar as gone: