Categories

Oct 5, 2019 in Android

Q: Android Screen Orientation Example

1 Answer

Oct 5, 2019
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>
Click here to read more about Android
Click here to read more about Insurance

Related questions

Madanswer
Apr 27 in Android
Oct 7, 2019 in Android
Oct 7, 2019 in Android
...