Android LayoutInfrater
LayoutInfraterを利用してリソースxmlからViewを生成。
LayoutInflater inflater = (LayoutInflater)context.getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
View view = ifrlater.infrate(R.layout.test,null);
LayoutInfraterを利用してリソースxmlからViewを生成。
LayoutInflater inflater = (LayoutInflater)context.getSystemService
(Context.LAYOUT_INFLATER_SERVICE);
View view = ifrlater.infrate(R.layout.test,null);