in Android by
Android Screen Orientation Example

1 Answer

0 votes
by
The screenOrientation is the attribute of activity element. The orientation of android activity can be portrait, landscape, sensor, unspecified etc. You need to define it in the AndroidManifest.xml file.

Syntax:

<activity android:name="package_name.Your_ActivityName"  

      android:screenOrientation="orirntation_type">  

</activity>

Related questions

0 votes
asked Sep 4 in Android by Robindeniel
0 votes
asked Sep 4 in Android by Robindeniel
+1 vote
asked Sep 2 in Android by Robin
...