I have built the GUI of my application using the coding approach rather than the xaml. Now that I have tested the app on my phone the screen looks aweful when I rotate it. I need to draw the GUI separately depending on if its verticle or horizontal (much like you can alread in xaml). At this point I have too much time invested in the code approach to switch to xaml.
Can anyone point me to the documentation on how to handle Rotations from code?