setContentView和inflate区别
摘要:一般用LayoutInflater做一件事:inflateinflate这个方法总共有四种形式(见下面),目的都是把xml表述的layout转化为View对象。其中有一个比较常用,View inflate(int resource, ViewGroup root),另三个,其实目的和这个差不多。in...
阅读全文
posted @ 2014-06-26 09:56
posted @ 2014-06-26 09:56
posted @ 2014-06-24 10:01