title: Android Studio onCreate setContentView
body: <p>I started a blank project and modified the onCreate by adding the below but the button is not being created because I can not see it in the design view. What am I doing wrong, I expected to see the button with its text as indicated.</p>
  
  <pre><code>Button b = new Button(this);
  b.setText("Hello Button");
  setContentView(b);
  </code></pre>
  
  <p>Many thx</p>