-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Library resource prefix breaks current attrs.xml #4021
Comments
@tobrun Let's hold on this for time being as there are more immediate needs that require our bandwidth, namely better testing support. |
If it's only for internal use, not a major problem. However, let's avoid unnecessary
If the only public facing change is for |
@zugaldia For now I'm going to drop the |
@tobrun 👍 |
For #3119 it seemed a great improvement to add
resourcePrefix
to build.gradle.This enforces that resources should start with a certain prefix.
For this project I have chosen for the
mapbox_
prefix.This resulted in following
strings.xml
:This is a great improvement in comparison with before, the resource prefix requires us to follow certain guidelines. Now with implementing #4018, I'm noticing this is required also for other types of resources:
eg
attrs.xml
:At first this doesn't seem a problem, but when you look at the end result in java code:
instead of
I'm personally not a big fan of this, but this API is only for internal use.
End users will only see the following API:
What are your opinion on this? @bleege @zugaldia
The text was updated successfully, but these errors were encountered: