Wednesday, May 22, 2013

[android-developers] Long Press on custom View

Long story, short.
1. I have a relative layout
2. I need to program stuff to happen when the user long presses inside the view


What I would really like is to have a delete button appear on the side that the user presses and the view goes away.
Any idea how to do that?

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment