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
Please add a prefix for each resource and file, to avoid confusion with app's resources #10
Comments
Fine. This's a good suggestion! I'll add this to my todo list. |
Thank you. |
Add a prefix for each resource and file, to avoid confusion with app's resources #10.
Hi @AndroidDeveloperLB , I have pushed a commit 1fb809e to meet your suggestion. Please take some time to review this commit. If you do not have any problems about this commit, please close this issue. Thank you. |
Thank you. EDIT: I see that it was done for the resources (seems like all of them, didn't check), but not for those files (their names) : |
Rename them like this: adp_styles_core.xml, adp_themes_core.xml, adp_colors_core.xml...? |
no, like this : the prefix is just like in the resources. the last part is the type of the resource file. |
Fine. |
Thank you. |
Another commit: 91761d0 |
Wow you are fast. |
BTW, I think the file "TintManager.java" is missing this import line: |
I think you've misses some resources to add a prefix to: |
Please add a prefix for each resource and file, to avoid confusion with app's resources #10
@AndroidDeveloperLB Hi, I have pushed another commit which renamed colors and dimensions' names but excluded the styles'. What‘s wrong with the way I've named the styles' names? |
They have a too similar name to those of Android's , so it's confusing... |
So what's your suggestion? |
@fengdai you can use something like that : |
@fengdai Also, the support library have prefixes too for the styles. Not sure how they decide where to put the extra text, but here are some examples: |
These days I've been trying to fix this issue. Please take a look at this: 4c8a1be |
@fengdai Looks good. |
If there's no problem, please close this issue. Thank you. |
I hope I will have the time to check everything soon. |
@fengdai I've went over all of the files. Seems you've made a perfect job going over all of them. |
For some reason, the projects don't compile, saying that "adpListItemHeight" isn't declared anywhere... Same goes for this error: it also has an issue with this "TextAppearance.Material.Subhead", which I think should be: |
Oh,That's my mistake. I'll fix it soon. Thank you. |
...\res\values-v21\adp_mtrl_themes.xml should be deleted. |
@fengdai That's the only thing I need to change? |
Yes.
|
@fengdai OK, thank you. Did you notice the white title on GB ? |
Maybe have "adp__" as a prefix for each resource and file.
Also, for the core library, you could use "adp_core__" , for holo, you could use "adp_holo__", and for material, you could use "adp_mat__"
The text was updated successfully, but these errors were encountered: