Android Air Soft Menu Height (to get portrait width in landscape)
I just realized that when I get the height and width of my main view after a screen rotation, the height is always smaller than the screen resolution because of the soft menu.
My problem is that I need to scale some text labels and to do so I need to get the ratio. If I hard code the ratio as (1280 / 800) it displays correct. However when I get the height programaticlly I end up getting (1280 / 752). The height 752 is accurate but not what I need. The soft menu on the Xoom must be about 48 px. What I need is (1280 / (752 + 48)).
I can't use Capabilities.screenResolutionX because we want to port the app to desktop and the screen resolution is often way bigger than the AIR window.
Does anyone know how I can get the full height including the soft menu? Or is there a way to get the portrait width some other way?
Thanks!
