Chapter 2.7 – Style Resource

A style resource defines the format and look for a UI. A style can be applied to an individual View (from within a layout file) or to an entire Activity or application (from within the manifest file). For more information about...

Continue reading

Chapter 2.5 – Menu Resource

A menu resource defines an application menu (Options Menu, Context Menu, or submenu) that can be inflated with MenuInflater. For a guide to using menus, see the Menus developer guide. FILE LOCATION: res/menu/filename.xml The...

Continue reading

Chapter 2.4 – Layout Resource

A layout resource defines the architecture for the UI in an Activity or a component of a UI. FILE LOCATION: res/layout/filename.xml The filename will be used as the resource ID. COMPILED RESOURCE DATATYPE: Resource pointer to a...

Continue reading