I got this mixed up. ListPopupWindow is non-modal by default and so does dispatch events to other widgets as I want. If I do #setModal(true), the touch events do not get dispatched. However, ListPopupWindow is always modal and it does not have a #setModal method on it. Does this just seem like a missing feature?
On Jun 24, 3:34 pm, Shri <[email protected]> wrote: > Calling #setModal(false) works. It confusing because the PopupWindow > seems to be modal by default but ListPopupWindow is not. > > On Jun 15, 9:54 pm, harsh chandel <[email protected]> wrote: > > > how are you using your pop up as alert dialog or just dialog > > try using dialog may be this coulod help > > > On Jun 15, 10:48 pm, Shri <[email protected]> wrote: > > > > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

