βInflationβ is a term that refers to parsing XML and turning it into UI-oriented data structures. You can inflate the hierarchy of views, menu structure, and other types of resources. Often this is done behind the scenes with a wireframe (for example, you call setContentView(R.layout.main) ). A typical case when you explicitly inflate something yourself is to create a menu, as described in the Creating a Menu guide.
Ted hopp
source share