摘要: LayoutInflater介绍及例子主要是利用LayoutInflater的inflate方法相当于findViewById,只不过查找的是layout的资源LayoutInflater mLayoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE);linearLayout1 = (LinearLayout) mLayoutInflater.inflate(R.layout.main, null);linearLayout2 = (LinearLayout) mLayoutInflat 阅读全文
posted @ 2013-03-15 13:32 C+养鱼人 阅读(214) 评论(0) 推荐(0) 编辑