Android
OA0-002 · Question #1
Which of these is the correct explanation of an XML layout file?
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 these is the correct explanation of an XML layout file?
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
(57 responses)- A11% (6)
- B5% (3)
- C82% (47)
- D2% (1)
Community Discussion
No community discussion yet for this question.