title: android TextView setText issue
body: <p>I tried to display a message on a TextView in a activity like this:</p>
  
  <pre><code>    protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_display_message);
  
      // Get the message from the intent
          Intent intent = getIntent();
  
          // Create the text view
          TextView textView = (TextView) findViewById(R.id.display_message);      
  
          if(intent.getExtras() != null){
              String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
              textView.setTextSize(40);
              textView.setText(message);          
          }else{
              textView.setTextSize(40);
              textView.setText(R.string.hello_world);
          }
  
       // Show the Up button in the action bar.
      setupActionBar();
  }
  </code></pre>
  
  <p>The code supposed to display "hello world!" when the extra message contained in the <code>intent</code> is <code>null</code>, but instead <code>hello world!</code> did not show up.</p>
  
  <p><img src="https://i.stack.imgur.com/DBC4N.jpg" alt="enter image description here">
  <img src="https://i.stack.imgur.com/klsk0.jpg" alt="enter image description here"></p>
  
  <p>This is my <code>strings.xml</code>:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;string name="app_name"&gt;Action Bar&lt;/string&gt;
      &lt;string name="action_settings"&gt;Settings&lt;/string&gt;
      &lt;string name="hello_world"&gt;Hello world!&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>The main activity which send the message:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  public final static String EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE";
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  }
  
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main_activity_actions, menu);
  
      return super.onCreateOptionsMenu(menu);
      //return true;
  }
  
  public void sendMessage(View view){
      Intent intent = new Intent(this, DisplayMessageActivity.class);
      EditText editText = (EditText) findViewById(R.id.edit_message);
      String message = editText.getText().toString();
      intent.putExtra(EXTRA_MESSAGE, message);
      startActivity(intent);
  }
  
  public boolean onOptionsItemSelected(MenuItem item) {
      // Handle presses on the action bar items
      switch (item.getItemId()) {
      case R.id.action_search:
      //  openSearch();
          return true;
      case R.id.action_settings:
      //  openSettings();
          return true;
      default:
          return super.onOptionsItemSelected(item);
      }   
  }   
  }
  </code></pre>