例:LinearLayoutを定義したXML(item.xml)のインスタンスを生成
LayoutInflater mInflater = (LayoutInflater) getApplicationContext().getSystemServices(Context.LAYOUT_INFLATER_SERVICE);
LinearLayout mLinearLayout = (LinearLayout) mInflater.inflate(R.layout.item, null, false);