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 to GONE
this 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.OnTouchListener
for both your viewsFALSE
in the method onTouch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With