I have found how to create a translucent background for my android app, but so far I haven’t found how to interact with what’s behind it (the home screen for example).
This post helped me make the app view translucent.
How would one go about allowing the user to interact with what’s behind the translucent app? This app is a good example of an app that allows this is the “Transparent Screen” Android app.
A very simple way of understanding stacking of views is to take a book (any book). Think of each page as a view.
Visibility
VISIBLE)INVISIBLE– Main View to show the next view. Remember you are only hiding the view, if you set the visibility toGONEthis is equivalent to tearing of the current page to view the next page.)Touch scenarios
Don’t be disheartened, since it is a view you will be dealing with and not a paper you can still do what you want to do 🙂
View.OnTouchListenerfor both your viewsFALSEin the methodonTouch