*[I know this query is very old but still might be useful for future readers]* Hi gguoling,
For your particular requirement, you can set Window Flags to your foreground activity as below: Window window = getWindow(); window.addFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE); More information here: FLAG_NOT_TOUCHABLE<http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_NOT_TOUCHABLE> . Hope this helps. On Wednesday, 6 May 2009 08:48:08 UTC+5:30, gguoling wrote: > > Hi Dianne Hackborn, I didn't find the flag you said in class "Window". > Can you tell me how to pass the touch events ? > Thank you. > > On 5月6日, 上午10时43分, Dianne Hackborn <[email protected]> wrote: > > Touch processing is all-or-nothing per window. You can set the window > flag > > to turn off all touch processing, but you can selectively catch or pass > > touch events. > > > > On Tue, May 5, 2009 at 7:33 PM, gguoling <[email protected]> wrote: > > > > > Hi all, I have a question, How to pass the "Touch" event to the > > > application behind the transluent view? The view is an input view > > > (IMF, implemented by "InputMethodService.setInputView()"). Need help. > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. -- 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

