March 2016
Intermediate to advanced
428 pages
9h 2m
English
In this chapter, we will cover the following topics:
In Android, the User Interface is defined in a Layout. A layout can be declared in XML or created dynamically in code. (It's recommended to declare the layout in XML rather than in code to keep the presentation layer separate from the implementation layer.) A layout can define an individual ListItem, a fragment, or even the entire Activity. Layout files are stored in the /res/layout folder and referenced in code with the following ...
Read now
Unlock full access