Android dev - TextView won't show up
<p>I just started experimenting with Android app development and so I decided to give Android's own tutorials a go (this one: <a href="http://developer.android.com/training/basics/firstapp/starting-activity.html" rel="nofollow">http://developer.android.com/training/basics/firstapp/starting-activity.html</a> ) </p>

<p>The textview in my new activity just won't show. Here's my code:</p>

<pre><code>public class DisplayMessageActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        /* Get the intent and the message sent with it */
        Intent intent = getIntent();
        String message = intent.getStringExtra(GoogleTutActivity.EXTRA_MESSAGE);

        /* Create a new textview where we can show the message the user sent */
        TextView textView = new TextView(this);
        textView.setTextSize(40);
        textView.setText(message);

        setContentView(R.layout.activity_display_message);
    }
}
</code></pre>
