nerdexam
Android

AND-401 · Question #25

Which of the following is correct about XML layout files?

The correct answer is C. In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout directory. See the full explanation below for the reasoning.

Question

Which of the following is correct about XML layout files?

Options

  • AIn order to display a Ul defined in the XML layout file "main.xml", call the setContentView method
  • BThere is no distinction between implementation of the layout definition by code, or by XML layout
  • CIn an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout directory.
  • DLayout information written in the XML layout file will be converted into code by the Android

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    10% (3)
  • C
    83% (25)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full AND-401 Practice