I used a layer of framelayout with a semi-translucent background to create an overlay. But this overlay doesn\'t block touch events to interact with the views below it. How sho
Below code has worked for me. I've added android:clickable="true" to block touch events to other views below it.
android:clickable="true"
This is an example with a ProgressBar inside the overlay. If you don't want the ProgressBar, you can use the FrameLayout without it.