Android Application Development (AND-401) — Question 69

Which of the following attributes of the activity tag in the manifest file is used to set an activity screen to landscape orientation?

Answer options

Correct answer: D

Explanation

The correct answer is D because it uses the proper syntax and casing for the attribute in the Android manifest. Options A and B are incorrect due to either improper casing or missing the 'android:' prefix, and option C has incorrect casing for 'ScreenOrientation', which does not match the required attribute name.