Why are some of my styles not working with lower APIs?
<p>I have a quick question!</p>

<p>In my styles.xml file, I have</p>

<pre><code>&lt;style name="TextViewStyle" parent="android:Widget.TextView"&gt;
    &lt;item name="android:padding"&gt;20px&lt;/item&gt;
    &lt;item name="android:background"&gt;#9cd0e8&lt;/item&gt;
    &lt;item name="android:textColor"&gt;#254b7c&lt;/item&gt;
    &lt;item name="android:textSize"&gt;18sp&lt;/item&gt;
    &lt;item name="android:textStyle"&gt;bold&lt;/item&gt;
&lt;/style&gt;
</code></pre>

<p>And in my activity_main.xml, I have</p>

<pre><code>&lt;TextView
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:theme="@+styles/TextViewStyle"
    android:text="Sample Text"/&gt;
</code></pre>

<p>What I am trying to do is, in my Android application, on a certain activity I plan to place many TextViews with similar properties. Instead of writing these 'properties' every time with each TextView instance, I grouped them together in a style in styles.xml file and set theme of each of my TextViews to that style.</p>

<p>It works fine and does what I want it to do, but only with APIs above 21! My application's supposed to support devices from API level 15 up. Why is my approach not working with lower APIs?</p>

<p>Please help soon. I need to finish this soon.</p>

<p><strong>EDIT</strong></p>

<p>By 'working', I meant that the attributes I set in my style (padding, color, etc.) appear on the TextViews as they should. In lower APIs however, the TextViews appear as if I had not applied any attribute on them. Plain text appears instead of a styled one.</p>