You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We expose a fair amount of attributes that developers use to customise a Map in xml.
It's a common best practice to prefix resources with a company name. This is needed to avoid xml naming conflicts. For example I have seen that our zoom attribute was conflicting with another 3th party library attribute.
One way of achieving this is using the [resource prefix configuration in gradle}(http://tools.android.com/recent/androidstudio058released). This results in showing the following picture if resources do not match:
We have applied this approach in the past but ended up removing it. I think we should possibly add prefix support for attributes but maybe not enforce the gradle configuration.
Sidenote: to make it easier for users to migrate we can allow using both non and with prefix for a couple of releases.
We have applied this approach in the past but ended up removing it. I think we should possibly add prefix support for attributes but maybe not enforce the gradle configuration.
Any drawbacks enforcing the gradle setting? It sounds like a good approach a priori to ensure prefixes consistency.
Sidenote: to make it easier for users to migrate we can allow using both non and with prefix for a couple of releases.
We can also tag this SEMVER and add it to the list for 5.0.
Activity
tobrun commentedon Oct 5, 2016
This is the current list of public resources in the library:
zugaldia commentedon Oct 5, 2016
Great catch, something we should definitely fix.
Any drawbacks enforcing the gradle setting? It sounds like a good approach a priori to ensure prefixes consistency.
We can also tag this
SEMVERand add it to the list for 5.0.