title: AndroidManifest: Ignoring unknown 'shape' XML element
body: <p>For some reason my Android project compiles properly, runs fine on both phones and emulators, and even includes multiple XML layout files with LinearLayouts, TextViews, Buttons, Images, and even custom View components, but when it comes to shapes it simply can't find them.</p>
  
  <p>Heres my code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      &gt;
  
      &lt;solid android:color="#ffffff"/&gt;    
  
      &lt;stroke android:width="3dp"
              android:color="#ff000000"/&gt;
  
      &lt;padding android:left="1dp"
               android:top="1dp"
               android:right="1dp"
               android:bottom="1dp"/&gt; 
  
      &lt;corners android:radius="30dp"/&gt; 
  &lt;/shape&gt;
  </code></pre>
  
  <p>And the error I get in the graphical layout in eclipse:</p>
  
  <pre><code>com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup
  Exception details are logged in Window &gt; Show View &gt; Error Log
  The following classes could not be found:
  - shape (Fix Build Path, Edit XML)
  - solid (Fix Build Path, Edit XML)
  </code></pre>
  
  <p>I'm targeting Android 2.2 Froyo Google APIs.</p>
  
  <p>Suggestions?</p>