You can specify a different layout file in the / res / layout -land directory to give your widget a different layout when the main screen is in the layout orientation.
However, you cannot change from 2x2 to 3x1 to change the orientation, as this can very easily cause a conflict with other widgets / icons on the main screen.
To check the screen orientation change on the emulator, you can press the "Home" key on the numeric keypad of your computer keyboard ("7" on the numeric keypad with "Num Lock" turned off).
source share