A sample app showing how to switch layouts while changing orientation.s