To use your custom XML-Attributes in a Library Project you need some special namespace, otherwise you will get a strange error in the console for your project. Instead of your package as namespace, which you would usually use, you have to use the following: http://schemas.android.com/apk/res-auto You can read more about this here.
