What I am trying to achieve is best explained by the scheme I made with mspaint:
I have tried to set FLAG_NOT_TOUCH_MODAL which by the descript
FLAG_NOT_TOUCH_MODAL
You can use activity with special theme in your AndroidManifest file:
And also don't forget to set mach_parent attribute in Activity like:
override fun onStart() { super.onStart() window.setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT) }