Is it possible in android that one transparent activity is on the top and a background activity is able to handle the events?
If yes then please refer the below imag
I was able to make this work with the following code in my transparent foreground activity
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Pass touch events to the background activity
getWindow().addFlags(
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
| WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
| WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE);
...
setContentView(R.layout.main);
}