Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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