in Android by
Q:
Android Screen Orientation Example

► Click here to show 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>
Android
Learn More with Madanswer

Related questions

0 votes
asked Jan 14 in Android by RShastri
...