Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
julianwi opened this issue Aug 27, 2023 · 0 comments

Comments

@julianwi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant