title: Missing resource error, in Android
body: <p><strong>Thank you everyone who posted an answer, I looked over most of them and they all seem to work! Sorry if I didn't mark your's the answer since I could only mark one. However all methods below worked for me. Much appreciated.</strong></p>
  
  <p>Hi just a couple of things to know:</p>
  
  <p>I created a new activity, very simple. Basically the function is to press the button on the <code>MainActivity</code> page which will redirect the user to a new page called display. Everything seems to be working fine except for two errors I keep on getting. The <code>android:id="@+id/"</code> and <code>android:layout_below="@+id/"</code> return that they are missing resource names.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;RelativeLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"&gt;
  
      &lt;TextView android:text="@string/welcome_screen" android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/"
          android:layout_alignParentTop="true"
          android:layout_centerHorizontal="true"
          android:textStyle="bold"
          android:textSize="24sp"
          android:textColor="#000000"/&gt;
  
      &lt;Button
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/g_button"
          android:id="@+id/g_button"
          android:layout_marginTop="121dp"
          android:layout_below="@+id/"
          android:layout_centerHorizontal="true"
          android:clickable="true"
          android:onClick="onButtonClick" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Any help would be much appreciated.</p>