Screen rotation does not affect getLocationOnSreen

10 views
Skip to first unread message

Android007

unread,
Feb 4, 2013, 2:58:49 AM2/4/13
to android-...@googlegroups.com
Hi,
When I have a dialog shown on the screen and I rotate the screen (the dialog is still on top if the application had chosen to deal with screen rotations by itself), the dialog is still is shown in one place, but the getLocationOnScreen for the dialog's view still returns its coordinates in its previous state (in PORTRAIT instead of LANDSCAPE coordinates, in this case).
How could that be?
Is there anyway to get the real placement of the dialog's view? (surface? surfaceHolder? frame rectangle?)
Thank you
Reply all
Reply to author
Forward
0 new messages