摘要:
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+养鱼人
阅读(235)
评论(0)
推荐(0)

浙公网安备 33010602011771号