title: ID Value Resource: Android Studio
body: <p><a href="https://developer.android.com/training/basics/firstapp/starting-activity#BuildIntent" rel="nofollow noreferrer">https://developer.android.com/training/basics/firstapp/starting-activity#BuildIntent</a></p>
  <p>I am following along the demo on this website to gain a general idea of how Android Studio works.
  For the following portion of the code, it says to &quot;press Alt+Enter&quot; to clear errors. The problem is that the editText in line 3 ( R.id.editText ) is making me create a new id value resource or renaming the reference (which I do not want to do).</p>
  <pre><code>public void sendMessage(View view) {
      Intent intent = new Intent(this, DisplayMessageActivity.class);
      EditText editText = (EditText) findViewById(R.id.editText);
      String message = editText.getText().toString();
      intent.putExtra(EXTRA_MESSAGE, message);
      startActivity(intent);
  }
  </code></pre>
  <p>Can someone explain what the id value resource is? Also, suggestions on how to fix this issue? I am new to Android Studio, so I do not understand what exactly this means.</p>
  <p>Thank you.
  <a href="https://i.stack.imgur.com/WVAOW.png" rel="nofollow noreferrer">it says &quot;error: cannot find symbol&quot;</a></p>