title: android setting activity orientation by code
body: <p>it is possible to set the orientation of an activity in the manifest file.</p>
  
  <p>but is it also possible to do it from code? if so, how?</p>
  
  <p>thanks!</p>