in Android by
Q:
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>
Click here to read more about Android
Click here to read more about Insurance

Related questions

0 votes
asked Jan 14 in Android by RShastri
0 votes
asked Jan 14 in Android by RShastri
0 votes
asked Jul 12, 2020 in Android by SakshiSharma
0 votes
asked Oct 7, 2019 in Android by pranay jain
0 votes
asked Oct 7, 2019 in Android by pranay jain
0 votes
...