What does it mean to inflate a view from an xml file?

前端 未结 6 1760
情书的邮戳
情书的邮戳 2020-11-28 17:35

I am new to android development and keep coming across references to Inflating views from a layout xml file. I googled and searched the development guide but still wasn\'t

6条回答
  •  广开言路
    2020-11-28 18:05

    I think here "inflating a view" means fetching the layout.xml file drawing a view specified in that xml file and POPULATING ( = inflating ) the parent viewGroup with the created View.

提交回复
热议问题