问题
anyone know if there a list of standard prefixes that we need to use (or advisable to use) in the RES directory. i.e. Android recommends ic_ for icons, which is great and i am following that.
But what about Logos, button images, navigation images etc?
I would really be interested to find out if other exist and what everyone else is using
Thanks in advance
回答1:
Use common naming conventions for icon assets
Try to name files so that related assets will group together inside a directory when they are sorted alphabetically. In particular, it helps to use a common prefix for each icon type. For example:
Asset Type Prefix Example
Icons ic_ ic_star.png
Launcher icons ic_launcher ic_launcher_calendar.png
Menu and Action Bar icons ic_menu ic_menu_archive.png
Status bar icons ic_stat_notify ic_stat_notify_msg.png
Tab icons ic_tab ic_tab_recent.png
Dialog icons ic_dialog ic_dialog_info.png
check this link tips for Designers
来源:https://stackoverflow.com/questions/10785281/android-standards-for-prefixing-files-in-the-res-directory-apart-from-ic