adspace
Answer Posted / Anurag Singh Chauhan
Orientation in Android refers to the screen orientation (portrait or landscape) of an application. To control the orientation, developers can add the `android:screenOrientation` attribute to their manifest file. The possible values are `sensor`, `landscape`, `portrait`, and `user`. The 'sensor' value allows users to rotate the device and will automatically switch between portrait and landscape.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers