100%y height issue

joneden

Active Member
Licensed User
Longtime User
OK I maybe going mad but sometimes on my app after a reboot it will make 100%y include the height of the buttons at the bottom of the screen sometimes not.

So after a reboot, 100%y = 1280 but normally 100%y is 1205.

If it gets into the 1280 mode then for the duration of the app the positioning is wrong and 100%y is reported as 1280.

Once this happens on a device it always happens after a reboot...

Any suggestions?

Regards

Jon
 

junglejet

Active Member
Licensed User
Longtime User
Has this been fixed somehow?
Same problem here.
Activity.height in fullscreen mode is screen height. Notification bar in not subtracted from activity.height.

For me this is problematic with Google maps. The map sits on a panel that is 100%y high, but the panel extends below the display. I can see that when I draw a corner to corner line on the panels's canvas.

Google maps somehow manages to limit the map to the visible area of the panel, though. When I convert the lat/long bounds of the visible region of the map the Southern bound is wrong in relation to the underlying panel. I.e. the Southern bound latitude does not match with the panel's bottom.

App runs in fullscreen mode only, no mixture of modes.
Can height of notification bar be grabbed somewhere?

Thanks
Andy
 
Upvote 0
Top