I'm having a problem in my app where activity.height and 100%y = the height of the screen including the notification bar, and it's allowing my layout to be partially off the bottom of the screen. Is there a method to stop this?
There is an open issue where switching from a full screen activity to a non-full screen activity can cause the height to not be updated correctly. Is this the case in your app?
In the meantime, I made a simple workaround of storing the height for each orientation (portrait/landscape), and using the lowest value. That way it'll stop happening after the first time it's loaded correctly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.