title: Style inheritance of extended Widget
body: <p>In my project (Target API 21 with AppCompat support), I need to extend the <code>EditText</code> class. My problem is <code>MyEditText</code> class does not inherit <code>EditText</code> style customized with:</p>
  
  <pre><code>&lt;style name="AppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar" &gt;
      &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorControlNormal"&gt;@color/grey_light&lt;/item&gt;
      &lt;item name="colorControlActivated"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorControlHighlight"&gt;@color/primary&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>with <code>@color/primary</code> green</p>
  
  <hr>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/KgpmJ.png" alt="enter image description here"></p>
  
  <ul>
  <li>line 1: <code>EditText</code> focused</li>
  <li>line 2: <code>EditText</code> not focused (enabled)</li>
  <li>line 3: <code>MyEditText</code> not focused (enabled)</li>
  </ul>
  
  <hr>
  
  <p>My question is: How can I inherit default <code>EditText</code> style in <code>MyEditText</code> ?</p>