Custom theme for Android in Xamarin not being found
<p>I am using Visual Studio.</p>

<p>In my MainActivity.cs file I am trying to set a custom theme. The Activity attribute looks like this: <code>[Activity(Label = "MyTest", Icon = "@drawable/icon", Theme = "@android:style/Theme.Idkred", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]</code></p>

<p>When I try and build I am getting: <code>error APT0000: No resource found that matches the given name (at 'theme' with value '@android:style/Theme.Idkred').</code></p>

<p>I have a values folder in my Android resources folder. In there is a styles.xml file. The styles.xml file's build action is AndroidResource.</p>

<p>It looks like it is getting processed because in the build output I see <code>Processing: obj\Debug\res\values\styles.xml</code>.</p>

<p>My styles.xml file has this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;

&lt;resources&gt;

    &lt;style name="Theme.Idkred" parent="@android:style/Theme.Holo.Light"&gt;
        &lt;item name="android:actionBarItemBackground"&gt;@drawable/selectable_background_idkred&lt;/item&gt;
        &lt;item name="android:popupMenuStyle"&gt;@style/PopupMenu.Idkred&lt;/item&gt;
        &lt;item name="android:dropDownListViewStyle"&gt;@style/DropDownListView.Idkred&lt;/item&gt;
        &lt;item name="android:actionBarTabStyle"&gt;@style/ActionBarTabStyle.Idkred&lt;/item&gt;
        &lt;item name="android:actionDropDownStyle"&gt;@style/DropDownNav.Idkred&lt;/item&gt;
        &lt;item name="android:actionBarStyle"&gt;@style/ActionBar.Solid.Idkred&lt;/item&gt;
        &lt;item name="android:actionModeBackground"&gt;@drawable/cab_background_top_idkred&lt;/item&gt;
        &lt;item name="android:actionModeSplitBackground"&gt;@drawable/cab_background_bottom_idkred&lt;/item&gt;
        &lt;item name="android:actionModeCloseButtonStyle"&gt;@style/ActionButton.CloseMode.Idkred&lt;/item&gt;
    &lt;/style&gt;

... (more styles)
&lt;/resources&gt;
</code></pre>