I want to show a transparent lock screen over a web-view and want to make the underlying web-view inaccessible when there is a lock screen at the top. However, with my current implementation the user is still able to access and scroll the web-view even when there is a transparent lock screen. I used fragments to implement the web-view and the lock screen. Below are the screenshots-
As the screenshot shows, there is a transparent lock screen fragment over the web-view fragment. Ideally, the web-view fragment should be inaccessible and not scroll-able though still view-able. How can I make it inaccessible for the user?