Thank you, Dianne. Yes we can - for better or for worse. I have a graphical screen where I track touch locations through getRawY() in relation to my graphics. However, in the mean-time I already fixed my problem using getLocationOnScreen() for my main view, such that along with its getHeight() I do know both bottom and top absolute coordinates. Perhaps an appalling approach, but it now works fine for both the new Honeycomb UI and Android 2.3-. Problem solved.
On Jan 27, 6:24 pm, Dianne Hackborn <[email protected]> wrote: > You can't. Don't use Display.getWidth()/Height(), and you will be fine. > This is one of the reasons I have been saying for years to not use the raw > Display dimensions to do UI layout. > > If you aren't using Display to get dimensions, some more details about you > are doing are needed. Apps will never be given any space on the screen that > infringes on the system bar or otherwise have any idea it is there. > > On Thu, Jan 27, 2011 at 3:29 AM, blindfold <[email protected]>wrote: > > > > > How can I find the location (bottom or top) and height of the System > > Bar ("status bar") in Honeycomb? > > > In compatibility testing of my app I find that I get some vertical > > offsets in screen locations wrong in Honeycomb, apparently because I > > did not yet account for the System Bar at the bottom of the screen in > > Honeycomb. > > > Thanks! > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Dianne Hackborn > Android framework engineer > [email protected] > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

