title: Difference between declare-styleable and style
body: <p>I've begun playing around with styles and such in my android applications, and I have gotten everything working so far. I quite understood the 'style' <a href="http://developer.android.com/guide/topics/ui/themes.html" rel="noreferrer">section of the guide</a>.</p>
  
  <p>But, looking around, as in <a href="https://stackoverflow.com/questions/1717489/android-hello-gallery-tutorial-r-styleable-cannot-be-resolved">this thread</a>, I can't really figure out the difference between the two (<code>declare-stylable</code> and <code>style</code>).
  From my understanding <code>declare-styleable</code> takes the attribute specified in it and specifies it as styleable, and then from the code one changes it as he wants.</p>
  
  <p>But if this is what it really does, wouldn't it be simpler to just define the attribute in the layout? Or declare a style specifying it?</p>