title: How to explore styling in android
body: <p>I'm trying to theme my app in Android. However, each widget is an excrutiating pain in itself: I have to search for theming that particular widget and then create a style that hopefully derives from same style that widget uses.</p>
  
  <p>Of course, answers about theming a particular widget don't always contain info about base style, just the particular colors.</p>
  
  <p>So, instead of accepting fish to eat, can you teach me to fish instead?</p>
  
  <p>How do I interpret those <code>ObtainStyledAttributes()</code> calls in widget constructors and extract styles from that? How do I recurse that?</p>
  
  <p>In particular, can you walk me through <code>AlertDialog</code> button color? What style defines lollipop flat button + teal text color? How do I get to that style if I start from AlertDialog source and ObtainStyledAttributes call?</p>