How screen changes from horizontally to vertically or Vice-versa automatically in Android
<p>Hii</p>

<p>I want to know the mechanism how the screen changes automatically from horizontally to vertically or vice-versa in android when we change the position of phone. Example in terms of coding would be highly appreciable.</p>

<p>Regards</p>

<p>Piyush</p>
