How to change the screen size layout programmatically?

Printable View