Skip to content

ResXmlPullParser returns 0 for non existing arguments instead of defaultValue #59

@julianwi

Description

@julianwi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions