nerdexam
Android

AND-401 · Question #89

Which of the following attributes is used to set an activity screen to landscape orientation?

The correct answer is D. android:screenOrientation="landscape". See the full explanation below for the reasoning.

Question

Which of the following attributes is used to set an activity screen to landscape orientation?

Options

  • Ascreenorientation = landscape
  • BscreenOrientation="landscape"
  • Candroid:ScreenOrientation="landscape"
  • Dandroid:screenOrientation="landscape"

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    9% (3)
  • C
    14% (5)
  • D
    74% (26)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice