public class Main extends Activity {
    /** Called when the activity is first created. */
 Child vm;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //setContentView(R.layout.main);
        vm = new Child(this);
        setContentView(vm);
    }
}
class Child extends View 
{ 
  Button btn;
  public Child(Context context) {
  super(context);
       btn = new Button(context);     
       btn.setText("과연...");
       btn.setVisibility(VISIBLE);
   }
 }

안녕하세요 위에처럼 메인 클래스에서 child 클래스를 멤버로 가지고 이를 SetContentView () 함수를 이용해서 화면에 띄웠는데

Child 멤버 변수로 가지고있는 버튼이 화면에 출력이 되지안네요,, 어떻게 고쳐야하나요???