title: Rendering problems while creating a menu in Android Studio
body: <p>I wanted to create a simple menu for an app. Here is the XML code</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"&gt;
      &lt;item android:id="@+id/new_game"
            android:icon="@drawable/magnify"
            android:title="New Game"
            android:showAsAction="ifRoom"
            android:layout_height="wrap_content"/&gt;
      &lt;item android:id="@+id/help"
            android:icon="@drawable/magnify"
            android:title="Help" /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>But when I click on the design Tab, it gives an error saying that 
  "Rendering Problems
  The following classes cannot be found
  -item(Fix build path, Edit in XML)
  -menu(Fix build path, Edit in XML)"</p>
  
  <p>What should I do? </p>
  
  <p>Thanks in advance</p>