android LayoutInflater和inflate()方法的用法
LayoutInflater作用是将layout的xml布局文件实例化为View类对象。
实现LayoutInflater的实例化共有3种方法,
(1).通过SystemService获得
LayoutInflater inflater = (LayoutInflater)context.getSystemServices(Context.LAYOUT_INFLAT
转载
2016-09-11 23:53:51 ·
402 阅读 ·
0 评论