LayoutInflater介紹及例子

主要是利用LayoutInflater的inflate方法   相當於findViewById,只不過查找的是layout的資源   LayoutInflater mLayoutInflater = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_SERVICE); linearLayout1 = (LinearLayout) m
相關文章
相關標籤/搜索