Skip to content

Conversation

@dellis1972
Copy link
Contributor

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/969915

Certain android resource items can make use of the following
namespace

xmlns:app=""http://schemas.android.com/apk/res-auto""

this provides additional extension attributes which need
to be fixed up. Some examples are actionLayout, rectLayout
and roundLayout. The values for these attributes should
be lowercased as they refer to a @layout item.

It seems however that this list is always expanding. A new
item headerLayout seems to have appeared. Rather than handcoding
each of these items, the code here changes to check for Layout
in the attrbiute and will then lowercase the value. This should
protect us from future "additions", and help our customers since
they won't have to work around casing problems for attributes we
do not support.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/969915

Certain android resource items can make use of the following
namespace

	xmlns:app=""http://schemas.android.com/apk/res-auto""

this provides additional extension attributes which need
to be fixed up. Some examples are `actionLayout`, `rectLayout`
and `roundLayout`. The values for these attributes should
be lowercased as they refer to a `@layout` item.

It seems however that this list is always expanding. A new
item `headerLayout` seems to have appeared. Rather than handcoding
each of these items, the code here changes to check for `Layout`
in the attrbiute and will then lowercase the value. This should
protect us from future "additions", and help our customers since
they won't have to work around casing problems for attributes we
do not support.
@dellis1972
Copy link
Contributor Author

BCL Test Failures are not related.

@dellis1972 dellis1972 merged commit a638773 into dotnet:master Aug 23, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants