title: Android theme doesn't work on API < 22 (Android 5.0 Lollipop)
body: <p>I am trying to use theme in my app.<br>
  I want to override style of <code>EditText</code> globally, but this doesn't work on API &lt; 22 (Android 5.0 Lollipop)  </p>
  
  <p>Here is my theme declaration     </p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat"&gt;
      &lt;item name="android:editTextStyle"&gt;@style/EditTextDefault&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Declaration in <code>AndroidManifest.xml</code> </p>
  
  <pre><code>&lt;application
      android:allowBackup="true"
      android:name=".application.MyApp"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
  </code></pre>
  
  <p>My <code>EditText</code> custom style </p>
  
  <pre><code>&lt;style name="EditTextDefault" parent="@android:style/Widget.EditText"&gt;
      &lt;item name="android:background"&gt;@drawable/edit_text_holo_light&lt;/item&gt;
      &lt;item name="android:textColor"&gt;@color/light_blue&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>And I in xml files it should work without specifying <code>@style</code> attribute explicitly. But it doesn't work on API &lt; 22.</p>
  
  <pre><code>&lt;EditText
      android:id="@+id/edit_text_login"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_above="@+id/edit_text_password"
      android:hint="@string/hint_enter_login"
      android:inputType="textEmailAddress" /&gt;
  </code></pre>
  
  <p>In order to make it work on any version of API I have to specify style attribute   </p>
  
  <pre><code>&lt;EditText
      android:id="@+id/edit_text_login"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_above="@+id/edit_text_password"
      android:hint="@string/hint_enter_login"
      style="@style/EditTextDefault"
      android:inputType="textEmailAddress" /&gt;
  </code></pre>
  
  <p>I have tried to find info about this, but there is nowhere stated that theme will not work on api &lt; 22.</p>