Skip to content Skip to sidebar Skip to footer

Android: Standards For Prefixing Files In The Res Directory Apart From Ic_?

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 foll

Solution 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.pngMenu  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

Post a Comment for "Android: Standards For Prefixing Files In The Res Directory Apart From Ic_?"