码迷,mamicode.com
首页 > 其他好文 > 详细

布局填充器的三种写法

时间:2014-12-05 10:27:56      阅读:146      评论:0      收藏:0      [点我收藏+]

标签:sp   on   bs   nbsp   br   text   rom   布局   service   

布局填充器的三种写法:
  1.layoutInflater=layoutInflater.from(this);
  2.layoutInflater=(LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  3.layoutInflater=this.getLayoutInflater();

布局填充器的三种写法

标签:sp   on   bs   nbsp   br   text   rom   布局   service   

原文地址:http://www.cnblogs.com/dreamy890322/p/4145968.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!