Stephen Kong
- Forum posts: 17
Jan 30, 2012, 2:30:11 AM via Website
Jan 30, 2012 2:30:11 AM via Website
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
I put the above statement in my Activity. But I was surprised to find out that x/y coordinates where y = 0 is actually represent the top of the screen and y = screen height actually represent the bottom of the screen. This is a bit counter-intutive because I throught y = 0 should means the bottom of the screen.
Is this the correct y axis representation in landscape mode, or I might have missed some important setup or coding?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.