When developing applications for Windows Mobile, you can use the Calendar button in the device emulator to quickly see how your application behaves when you change the screen orientation. Below is a sample application in portrait orientation. Pressing the calendar button in the device emulator immediately switches you to a landscape orientation.
The image above is anchored to the the top, left of its parent form. If we change the anchoring behaviour so it is anchored to the top only, we get the following behaviour so it is centred in the form when we switch from a portrait to landscape orientation.
This is my blog about mobile software development.
If something takes your interest or you find yourself disagreeing with my perspective, please leave a comment.
No comments :
Post a Comment