标签:source clock menu 设计规范 计算器 cin cti sources mod
1.Tab实现
2.空格实现
字符串:
1.单引号
2.双引号
3.避免反斜杠的出现。
1.按照类型,分为以下几种
控件Id命名:控件缩写 _模块(module) _功能名(function)
2.Color命名
| Resources Type | 命名规则 | 
|---|---|
| color | 组件名+具体作用名。例 R.color.button_text | 
3.String命名
| Resources Type | 命名规则 | 
|---|---|
| string | 具体功能。 例 R.string.hello | 
4.Drawable命名
  | 
5.Layout命名
  | 
6.Menu命名
| Resources Type | 命名规则 | 
|---|---|
| menu | menu_模块名。例如 menu_login | 
7.Values命名
| Resources Type | 命名规则 | 
|---|---|
| color | 模块名_color。例如 material_design_color | 
| dimens | 模块名_dimens。例如 material_design_dimens | 
| style | 模块名_style。例如 material_design_style | 
| themes | 模块名_themes。例如 material_design_themes | 
标签:source clock menu 设计规范 计算器 cin cti sources mod
原文地址:http://www.cnblogs.com/s18242883963/p/7625265.html