title: Android - default button style
body: <p><strong>Question:</strong>
  Where can I find default styles xml with hexadecimal codes of colors?</p>
  
  <p>I'm looking for Style 'buttonStyle' and other default styles witch affect aspects like TextViews, Buttons etc (if you dont change the style of aspect)</p>
  
  <p>I looked up in <code>&lt;instalation_folder&gt;\android-sdk\platforms\android-&lt;versio&gt;\data\res\values</code> and <code>&lt;instalation_folder&gt;\android-sdk\platforms\android-&lt;version&gt;\data\res\colors</code> but I didn't actually find what I was looking for.</p>
  
  <p>Hope my question is clear.</p>
  
  <p><hr>
  Due to low reputation I cant answer this question yet. Here is answer</p>
  
  <p><strong>Answer</strong></p>
  
  <p>With a bit of googling I found 'buttonStyle' is actually 'Widget.Button' - 
  <a href="http://www.therealjoshua.com/2012/01/styling-android-with-defaults/">Styling Android With Defaults</a></p>
  
  <p>This is how it works:</p>
  
  <ul>
  <li>As I said 'buttonStyle' style is accualy 'Widget.Button' style defined in <code>\android-sdk\platforms\android-&lt;version&gt;\data\res\values\styles.xml</code>. Background is set to: <code>@android:drawable/btn_default</code></li>
  <li><code>\android-sdk\platforms\android-&lt;version&gt;\data\res\drawable\btn_default.xml</code> defines background color of button as selector. Color actually depends on button's state. Default color is set to <code>@drawable/btn_default_normal</code></li>
  <li>With a bit of searching I found, that btn_default_normal is png image located in <code>\android-sdk\platforms\android-&lt;version&gt;\data\res\drawable-mdpi</code></li>
  </ul>
  
  <p>I find it a bit confusing, but I hope it will help someone, maybe...</p>