All the classes in Android that can be built using XML have constructors of the form:
Context context, AttributeSet attrs, int defStyle
What is
This seems to be broken for custom views which programmatically supply their default style through the constructor, see the google code issue.