adspace


What is orientation in android? How is it done?

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


Please Help Members By Posting Answers For Below Questions

Which is the latest version of android os?

1046


What did you like better, ice cream sandwich or kitkat?

977


Which is the latest version of android?

1086


What all devices have you worked on?

1058