getViewById和getLayoutInflater().inflate得用法 1.什么是LayoutInflaterThis class is used to instantiate layout XML file into its corresponding View objects. 这个类是代码形式,把xml类型的布局转化成相应的View对象 转:http://www.cnblogs.com/shitianzeng/articles/2323427.html2.在实际开发中Layo…