How to set screen orientation in android studio with example

In this tutorial, we are going to learn. How to set screen orientation in android...