Popup in selected list item

I am trying to figure out how to create a popup menu after I click on a checkbox element so that I can do a few things like delete ..

I took this idea from Android video: Google I / O 2009 -... Interaction and visual design with Android (link: http://developer.android.com/videos/index.html#v=wdGHySpipyA ), 25:58 min

Here is the screenshot I took: http://photos-c.ak.fbcdn.net/hphotos-ak-snc3/hs196.snc3/20366_322904078985_613608985_4870141_6451460_n.jpg

If anyone knows about any tutorial or article, he will be fully appreciated!

+5
source share
1 answer

View , android:visibility="gone".

ListView onItemClick View.VISIBLE ( GONE) .

TranslateAnimation, , /.

, res/anim/slide_out.xml:

<?xml version="1.0" encoding="utf-8"?>
<translate xmlns:android="http://schemas.android.com/apk/res/android"
  android:fromYDelta="0"
  android:toYDelta="100%"
  android:duration="100"
/>

, :

Animation animation = AnimationUtils.loadAnimation(this, R.anim.slide_out);
mButtonView.startAnimation(animation);
mButtonView.setVisibility(View.GONE);
+3

All Articles