title: Set a consistent style to all EditText (for e.g.)
body: <p>I'm trying to make all <code>EditText</code>'s in my application have a consistent look. I'm aware that I can do something like this:</p>
  
  <pre><code>&lt;style name="App_EditTextStyle"&gt;
      &lt;item name="android:background"&gt;@drawable/filled_roundededges_box_dark&lt;/item&gt;
      &lt;item name="android:textColor"&gt;#808080&lt;/item&gt;
      &lt;item name="android:layout_height"&gt;45dip&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Then I can make a particular <code>EditText</code> have this style by doing this:</p>
  
  <pre><code>&lt;EditText ...
      style="@style/App_EditTextStyle
      ...&gt;
  </code></pre>
  
  <p>But this way I have to remember to set the style individually for each and every <code>EditText</code> in my application which is tedious, if not error prone. </p>
  
  <p>Is there some way I could make this a part of a theme or something? This is so I don't have to associate this style to every <code>EditText</code>. Something like this fictitious code block:</p>
  
  <pre><code>&lt;style name="App_Theme" parent="@android:style/Theme.Holo"&gt;
     ... 
     &lt;item name="android:EditTextSyle"&gt;@style/App_EditTextStyle&lt;/item&gt;
     ...
  &lt;style&gt;
  </code></pre>
  
  <p>And then in my <code>AndroidManifest.xml</code> I have something like:</p>
  
  <pre><code>&lt;application
      ....
      android:theme="@style/App_Theme"&gt;
  </code></pre>
  
  <p>And Voila! all my <code>EditText</code>'s have the consistent style without me having to specify the style for each instance.</p>