Layout命名规范
一个activity对应一个ac_layout
Listview的item对应 lv_layout
Dialog的view对应 dg_layout
Linearlayout的item对应ll_layout
自定义组件 com_layout
全局的layout gb_layout
各部件layout 对应top_layout,bottom_layout,body_layout,..
Id命名规范
功能型组件
Layout_功能 如main_to_homepage
Main_to
内容型组件 如main_txt_username
容器型组件 如main_ctn_elements
Drawable命名规范
ButtonSelecter 对应 sel_bt_drawable
Xxselecter 对应 sel_xx_drawable
Background 对应 bg_drawable
Bg_drawable的drawable推荐 line_color_shape
Diemen命名规范
Layout_compont_type 如main_tohomepage_h
Style命名规范
Layout_compont 如main_tohomepage
Color命名规范
颜色 如 white
说不出名字的颜色,暗、深、.、土、浅 如 dark_white light_gray deep_gray
Activity命名规范
常见的用英文,不会的用中文拼音