Barber is a custom view styling library for Android that generates the obtainStyledAttributes() and TypedArray boilerplate code for you.

  • Simply annotate your fields using the @StyledAttr or @AndroidAttr annotations
  • Call the appropriate Barber.style(this…) variant
  • Let Barber take care of all the boilerplate for you.
  • Profit

Leave a Reply