Android Question Notification bar's height not being subtracted from Activity.height

NeoTechni

Well-Known Member
Licensed User
Longtime User
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?
 

NeoTechni

Well-Known Member
Licensed User
Longtime User
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.
 
Upvote 0
Top