LayoutInflater介绍及例子

主要是利用LayoutInflater的inflate方法   相当于findViewById,只不过查找的是layout的资源   LayoutInflater mLayoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); linearLayout1 = (LinearLayout) m
相关文章
相关标签/搜索