Pass through touch events on window overlay to an Activity behind it
问题 Some context. I have a RelativeLayout that is added with a WindowManager the type is TYPE_SISTEM_ALERT with the flags FLAG_NOT_TOUCH_MODAL FLAG_WATCH_OUTSIDE_TOUCH . I'm able to get touch events either on this RelativeLayout or in the Activity "behind" it, but as long as it's not part of the "RelativeLayout window" added. * The black bars are the Views on my RelativeLayout; * the red rectangle is the whole container of this RelativeLayout; * the yellow stars are the spots of space that is