I don't know an easy solution but you could try this:
- Create a sub in which you update a global variable 'LastTouchTime' with the current DateTime.
- Call this sub from the click or touch events of every view in your app. Make sure to add a panel for the background to catch taps outside the views.
- Add a timer and check the global variable 'LastTouchTime'. Show the blank screen panel if the difference to the current DateTime is bigger than your threshold.
- Hide the blank screen panel when the user touches it.