Sunday, January 19, 2014
After they had screen upside down, when the aspect ratio of the screen to take more appropriate?
When the horizontal and vertical screen switch, set its callback function: onConfigurationChanged
But read the screen width and height on the inside when, in fact, has not changed.
Will read more appropriate at what time?
Reply:
Width and height are not will not change it ..
Reply:
Become, but only after the change.
Reply:
For mobile phones, horizontal screen vertical screen time with their width and height are not changed, but you can determine the current screen is horizontal or vertical screen, and then do the processing
Reply:
From the numerical point of view, the new width = original high, high = original width.
Reply:
Re-take-take about the change when
Reply:
Reset wide high bar
Reply:
Width and height is not necessarily just be reversed, because the tablet menu will occupy some space.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment