I've decided to post a sample application showing how to use the multiline MeasureString code provided on my previous post, to build a dynamic/adaptative UI. It also support screen rotation.
Here you have some screenshots:
After changing the text and pressing "Relayout" you can get something like this:
And rotating the screen:
Finally, this is the source code, enjoy it!
1 comment:
Thanks
Post a Comment