布局xml 转 view

引用:http://www.cnblogs.com/playing/archive/2011/03/24/1994090.html

LayoutInflater inflater = (LayoutInflater)mContext.getSystemService(mContext.LAYOUT_INFLATER_SERVICE);
View convertView = inflater.inflate(R.layout.bottom_nav_item, null);

posted @ 2012-04-18 23:37  镇水古月  阅读(157)  评论(0编辑  收藏  举报