For example attrs.getAttributeIntValue("http://schemas.android.com/apk/res/android", "orientation", 1) should normally return 1 if the attribute is not set. Currently it always returns 0 no matter what default value is given.
Other methods with defaultValue options are affected as well.