What is inflating a layout in Android?

What is inflating a layout in Android?
Answer
“Inflating” a view means taking the layout XML and parsing it to create the view and viewgroup objects from the elements and their attributes specified within, and then adding the hierarchy of those views and viewgroups to the parent ViewGroup.
 

Tìm kiếm

Back
Top