chrisbanes/Android-PullToRefresh — pull request #47 by brk3 (2012-03-15 21:44:06+00:00)
Title: Prefix attrs w/ ptr to avoid common res conflicts

When compiling a basic project with Android-PullToRefresh and another library that contains attributes such as headerBackground, you get the following error:

[aapt] ./finch/libs/JakeWharton-ActionBarSherlock-df676ad/library/res/values/abs__attrs.xml:222: error: Attribute "headerBackground" has already been defined

This is with ActionBarSherlock 4.0, a very popular support library. According to my research and some advice #android-dev, libraries should prefix custom attributes with a unique namespace. ActionBarSherlock likely can't do this as it needs to replicate the android-support library as closely as possible.

These small changes mitigate any such problems at least with Android-PullToRefresh. Have a look and see what you think :)