title: Displaying an integer variable in TextView
body: <p>I have an <code>int</code> that depends on users input. How do I display that <code>int</code> on the screen?</p>
  
  <p>Here is what I have been attempting:</p>
  
  <pre><code>    &lt;TextView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      android:text="@int/HW"  // What goes here, This is where i am confused
      tools:context=".DisplayMessageActivity" /&gt;
  </code></pre>
  
  <p>Also here are my defined variables, you may have seen my post not too long ago about this program:</p>
  
  <pre><code>    // Receive messages from options page
      Intent intent = getIntent();
      int HW = intent.getIntExtra("MESSAGE_HW", 0);
      int OTW = intent.getIntExtra("MESSAGE_OTW", 0);
      int HPD = intent.getIntExtra("MESSAGE_HPD", 0);
  </code></pre>
  
  <p>I am trying to display the int HW on the screen, any help is greatly appreciated! Thank you!</p>