title: Dynamically Add A TextView - Android
body: <p>How can I dynamically add a TextView to this? The commented out code doesn't work.</p>
  
  <pre><code>public class myTextSwitcher extends Activity {
  
      private TextView myText;
      public myTextSwitcher(String string){
  
          //myText = new TextView(this);
          //myText.setText("My Text");
      }
  }
  </code></pre>