This repository has been archived by the owner on Feb 28, 2024. It is now read-only.
Fix duplicate attributes defined in Spinner and TextAppearance attrs.xml #474
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When I'm trying to bind the material
.aar
library withXamarin.Android
, tooling raises an error:After a quick research, I figured out that the
rey5137/material
defines styleable attributes with reserved by Android SDK names. You can see it by hovering that attribute. And while this is just a warning in Android Studio, it's a blocker error in Xamarin.Android and I'm unable to bind this library:I'm not very familiar with styleable attributes but after some reading it seems that we want to define new attributes with unique names and move the rest into a common section to avoid duplicates. In our case, we also don't want to use reserved attributes names. The following 11 attributes were renamed to avoid that conflict: