in which directory are xml layout files stored in android studio (1)drawable (2)layout (3)raw (4)values
Answers
Answer:
answer is 2)layout
hope its help
Specifically, Android considers XML-primarily based totally layouts to be resources, and as such, format documents are saved withinside the res format listing internal your Android project.
Explanation:
XML extension, in one's Android project's res/format/ listing, so it's going to well compile.
More records approximately the syntax for a format XML record is to be had withinside the Layout Resources document.
In Android, an XML-primarily based totally format is a record that defines the exceptional widgets for use withinside the UI and the members of the family among the ones widgets and their containers.
Android treats the format documents as resources. Hence the layouts are stored withinside the folder res format.