Issue
Are there any best practices when it comes to naming drawable xml files?
Some of my files start with "button", other with "ic", even though their pretty much the same.
Solution
Yes there is a standard naming convention that google follows/recommends its ic_NAME_COLOR_SIZE.xml
for example ic_arrow_drop_up_black_24dp.xml
And yes of course it has to be all lowercase with no spaces. Hope this helps!
Answered By - Amey
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.