This is a simple piece of code to explain how to change the orientation of the activity(screen) at runtime using button