1
私はView
クラスがaddView
メソッドを持っていない、このビューすなわちVオブジェクトのビューのaddView()メソッドが表示されない、つまり、下のコードにありますか?
public class MyviewActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
LayoutInflater inflater=this.getLayoutInflater();
View v=inflater.inflate(R.layout.main, null, true);//view
}
}