title: Set the orientation of screen in android
body: <p>I am developing an application in which I have to change the screen orientation accordingly. This is my image.<img src="https://i.stack.imgur.com/CORQJ.png" alt="enter image description here"></p>
  
  <p>When my android device is vertical then this view of screen is fine. But when I rotate my screen to horizontal mode then my image should set above and the remaining components like Start, End and checkboxes must set below the image. Means layer type. In one layer which is first, there must be an image and in the second layer remaining components must set in horizontal mode.
  How can I do it?</p>
  
  <p><img src="https://i.stack.imgur.com/oPotq.png" alt="enter image description here"></p>