Binary XML file line #0: Error inflating class <unknown>

The problem comes with the library itself, If you check attrs.xml:

<attr name="buttonColor" format="color" />

As you can see the buttonColor only accepts color value, NOT color reference, and the view is trying to convert reference value you pass in xml to color and it throws an exception, So you can only use color for this attribute ( like this: #000000) Or fork the project and modify attrs.xml like this:

<attr name="buttonColor" format="color|reference" />