setContentView和inflate區別
一般用LayoutInflater做一件事:inflateinflate這個方法總共有四種形式(見下面),目的都是把xml表述的layout轉化為View對象。其中有一個比較常用,View infla ...
一般用LayoutInflater做一件事:inflateinflate這個方法總共有四種形式(見下面),目的都是把xml表述的layout轉化為View對象。其中有一個比較常用,View infla ...