title: How can I force screen orientation on some layout where the layout have several versions? (Android Studio)
body: <p>How can I force screen orientation on some layout where the layout  have several versions , I'm trying to lock portrait mode for normal screens(phones) while on the other hand I want landscape mode to be for tablet devices</p>
  <h1>java answers if possible</h1>