title: edit_text cannot be resolved or is not a field
body: <p>I hit "Run" while doing the tutorial on Android.com in Eclipse, and I get "edit_text cannot be resolved or is not a field". Here is my code for MainActivity '</p>
  
  <pre><code>import android.app.Activity;
  import android.content.Intent;
  import android.os.Bundle;
  import android.view.View;
  import android.widget.EditText;
  import android.R;
  
  public class MainActivity extends Activity {
  public final static String EXTRA_MESSAGE = "com.example.Tutorial.MESSAGE";
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_list_item);
  }
  
  
  /** Called when the user clicks the Send button */
  public void sendMessage (View view){
      // Do something in response to button
      Intent intent=new Intent (this, DisplayMessageActivityNewNew.class);
      EditText editText = (EditText) findViewById(R.id.edit_text);
      String message = editText.getText().toString();
      intent.putExtra(EXTRA_MESSAGE, message);
      startActivity(intent);
  }}
  </code></pre>
  
  <p>And my second activity:</p>
  
  <pre><code>import android.annotation.SuppressLint;
  import android.annotation.TargetApi;
  import android.app.Activity;
  import android.content.Intent;
  import android.os.Build;
  import android.os.Bundle;
  import android.support.v4.app.NavUtils;
  import android.view.MenuItem;
  import android.widget.TextView;
  
  public class DisplayMessageActivityNewNew extends Activity {
  @SuppressLint("NewApi")
  @Override
  protected void onCreate(Bundle savedInstanceState) {
  
      super.onCreate(savedInstanceState);
  
      // Get the message from the intent
      Intent intent = getIntent();
      String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
  
      // Create the text view
      TextView textView = new TextView(this);
      textView.setTextSize(40);
      textView.setText(message);
  
      // Set the text view as the activity layout
      setContentView(textView);
  }
  
  /**
   * Set up the {@link android.app.ActionBar}, if the API is available.
   */
  @TargetApi(Build.VERSION_CODES.HONEYCOMB)
  private void setupActionBar() {
      if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.HONEYCOMB) {
          getActionBar().setDisplayHomeAsUpEnabled(true);
      }
  }
  
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
      switch (item.getItemId()) {
      case android.R.id.home:
          // This ID represents the Home or Up button. In the case of this
          // activity, the Up button is shown. Use NavUtils to allow users
          // to navigate up one level in the application structure. For
          // more details, see the Navigation pattern on Android Design:
          //
          // http://developer.android.com/design/patterns/navigation.html#up-vs-back
          //
          NavUtils.navigateUpFromSameTask(this);
          return true;
      }
      return super.onOptionsItemSelected(item);
  
  }
  </code></pre>
  
  <p>Main_Activity.xml</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="@dimen/activity_horizontal_margin"
  android:paddingRight="@dimen/activity_horizontal_margin"
  android:paddingTop="@dimen/activity_vertical_margin"
  android:orientation="horizontal"
  tools:context="MainActivity" &gt;
  &lt;EditText android:id="@+id/edit_message"
      android:layout_weight="1"
      android:layout_width="0dp"
      android:layout_height="wrap_content"
      android:hint="@string/edit_message"/&gt;
  &lt;Button android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/button_send" 
          android:onClick="sendMessage"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>No idea what the issue is, but if you have any help, it would be greatly appreciated. Thanks in advance.</p>