Style / themes not working
<p>whenever I try to apply a VERY simple style in eclipse I get errors:
the style is as below (filename styles.xml in res/layout)</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;resources&gt;
    &lt;style name="commonStyle"&gt;
       &lt;item name="android:background"&gt;#EEEEEE&lt;/item&gt;
     &lt;/style&gt;
&lt;/resources&gt;
</code></pre>

<p>Regardless of whether I try to apply this to a LinearLayout (using style="@style/commonStyle") or to an activity in my manifest file (using android:theme="@style/commonStyle") I ALWAYS get the error "No resource found that matches the given name...".
If I try to apply an Android theme to an activity (say Theme.Black) it works just fine.
If I remove any usage of my style, my R.java file is generated as normal with the following contents:</p>

<pre><code>    public static final int styles=0x7f030002; (in the generated layout class)
</code></pre>

<p>I have NO idea what the hell is going on. It seems that NOONE is having the same troubles as me (Ive spent about 4 hours searching using google, and came up with not even a remotely close answer).</p>

<p>Ive tried restarting eclipse, clean building etc. etc. and nothing works what so ever...
So what am I missing?</p>
