Wednesday, June 15, 2011

[android-developers] How to immediately dispatch touch events outside of a PopupWindow

If a ListPopupWindow is being displayed, I can tap on buttons outside
it, and the buttons receive the touch event. However, while displaying
a PopupWindow, tapping outside does not cause the button to be
clicked. It just dismisses the PopupWindow. I then need to tap one
more time to click the button. I tried using #setOutsideTouchable with
true and false arguments, but it did not change anything. Any idea how
to make PopupWindow behave more like ListPopupWindow in this regards?

Thanks
Shri

--
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

No comments:

Post a Comment