How to I tell my own custom Spinner Layout to use my Theme?
<p>How to I tell my own custom Spinner Layout to use my Theme?</p>

<p>Style:</p>

<pre><code>&lt;style name="SpinnerText" parent="@android:style/Widget.TextView.SpinnerItem"&gt;
    &lt;item name="android:textAppearance"&gt;@style/AnswerTextElement&lt;/item&gt;
&lt;item name="android:gravity"&gt;center_vertical|center_horizontal&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>Theme:</p>

<pre><code> &lt;style name="ApplicationTheme" parent="android:style/Theme.NoTitleBar"&gt;
    &lt;item name="android:buttonStyle"&gt;@style/Button&lt;/item&gt;
    &lt;item name="android:spinnerStyle"&gt;@style/Spinner&lt;/item&gt;
    &lt;item name="android:spinnerItemStyle"&gt;@style/SpinnerText&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>This works for default Spinners, however does not work with my custom layout:</p>

<pre><code>&lt;RelativeLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;TextView android:layout_height="wrap_content" android:id="@+id/text1"
    android:text="label name" android:layout_width="fill_parent"
    android:layout_toLeftOf="@+id/check1"&gt;&lt;/TextView&gt;
&lt;CheckBox android:layout_width="wrap_content"
    android:layout_height="wrap_content" android:id="@+id/check1"
    android:layout_alignParentRight="true" android:clickable="false"
    android:focusable="false" android:focusableInTouchMode="false"
    style="@style/CheckBoxPlainBackground"&gt;&lt;/CheckBox&gt;
&lt;/RelativeLayout&gt;
</code></pre>
