重大消息:于 2015-08-16 更新,新增 20+ 章节,发布在 http://wiki.jikexueyuan.com/project/material-design/
Google I/O 2014发布的Material Design将会成为统一Android,Chrome等平台的设计语言规范,对从业人员意义重大,我们正通过互联网的方式将其翻译成中文~
我们欢迎每一个人参与进来一起翻译和校对~~
如果想做出贡献(翻译或者校对)的话,请加QQ群:137198122,谢谢!
原文文档: http://www.google.com/design/spec/material-design/introduction.html
README.md
里找还没有被人申请的章节,写上(@你的github号),给主仓库的master
分支提pull request;master
分支;master
分支合并到主publish
分支;为了让大家协作顺畅,需要每一个人遵循如下协作规范~
master
,用于GitHub的pages服务master
分支中如果不熟悉的Markdown的,请参考
What is material?
单位和度量
- Units and measurements
自适应 UI
- Adaptive UI
按钮:浮动动作按钮
- Buttons: Floating Action Button
数据表格
- Data tables
选择器
- Pickers
选择控制
- Selection controls
App 结构
- App structure
数据格式
- Data formats
空状态
- Empty states
错误
- Errors
启动屏幕
- Launch screens
加载图像
- Loading Images
导航
- Navigation
导航过渡
- Navigational transitions
滚动技巧
- Scrolling techniques
刷新
- Swipe to refresh
√ by awong1900双向性
- Bidirectionality
设备
- Devices
录了一个动作演示,如下
git st
是我设置的一个git的别名,其全称是 git status
打开https://github.com/1sters/material_design_zh ,fork一份自己的仓库;
iceskysls-MacBook-Pro:1sters iceskysl$ git clone git@github.com:IceskYsl/material_design_zh.git
Cloning into 'material_design_zh'...
remote: Counting objects: 3, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 3 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.
iceskysls-MacBook-Pro:1sters iceskysl$ cd material_design_zh
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git remote add upstream https://github.com/1sters/material_design_zh.git
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git remote -v
origin git@github.com:IceskYsl/material_design_zh.git (fetch)
origin git@github.com:IceskYsl/material_design_zh.git (push)
upstream https://github.com/1sters/material_design_zh.git (fetch)
upstream https://github.com/1sters/material_design_zh.git (push)
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git fetch upstream
remote: Counting objects: 43, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 41 (delta 12), reused 32 (delta 3)
Unpacking objects: 100% (41/41), done.
From https://github.com/1sters/material_design_zh
* [new branch] master -> upstream/master
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git merge upstream/master
Updating 6899552..ea46595
Fast-forward
README.md | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------
SOURCE/SUMMARY.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+), 47 deletions(-)
create mode 100644 SOURCE/SUMMARY.md
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git st
On branch ing
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: README.md
no changes added to commit (use "git add" and/or "git commit -a")
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git add .
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git commit -m "完成规范编写"
iceskysls-MacBook-Pro:material_design_zh iceskysl$ git push origin master
Counting objects: 46, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (39/39), done.
Writing objects: 100% (44/44), 7.50 KiB | 0 bytes/s, done.
Total 44 (delta 13), reused 0 (delta 0)
To git@github.com:IceskYsl/material_design_zh.git
* [new branch] master -> master
推送自己的远端仓库(master分支)到主仓库(master分支)
├── README.md
├── SUMMARY.md
├── cover.jpg
├── cover_small.jpg
├── material-design
│ ├── images
│ │ ├── materialdesign-goals-cutrectangles_large_mdpi.png
│ │ ├── materialdesign-goals-landingimage_large_mdpi.png
│ │ ├── materialdesign-goals-swirlanddot_large_mdpi.png
│ │ ├── materialdesign-principles-circleplus_large_mdpi.png
│ │ ├── materialdesign-principles-flyingsquare_large_mdpi.png
│ │ └── materialdesign-principles-layersquares_large_mdpi.png
│ └── introduction.md
├── animation
│ ├── authentic-motion.md
│ ├── delightful-details.md
│ ├── meaningful-transitions.md
│ └── responsive-interaction.md
├── style
│ ├── color.md
│ ├── icons.md
│ ├── imagery.md
│ └── typography.md
├── layout
│ ├── layout-principles.md
│ ├── metrics-and-keylines.md
│ └── structure.md
├── components
│ ├── bottom-sheets.md
│ ├── buttons.md
│ ├── cards.md
│ ├── chips-tokens.md
│ ├── dialogs.md
│ ├── dividers.md
│ ├── grids.md
│ ├── list-controls.md
│ ├── lists.md
│ ├── menus.md
│ ├── progress-activity.md
│ ├── sliders.md
│ ├── snackbars-and-toasts.md
│ ├── subheaders.md
│ ├── switches.md
│ ├── tabs.md
│ ├── text-fields.md
│ └── tooltips.md
├── patterns
│ ├── gestures.md
│ ├── imagery-treatment.md
│ ├── promoted-actions.md
│ ├── search.md
│ ├── selection.md
│ └── settings.md
└── usability
└── accessibility.md
├── resources
│ ├── color-palettes.md
│ ├── layout-templates.md
│ ├── roboto-font.md
│ └── sticker-sheets.md
使用markdown的代码规范处理,如
```html
\<div class="hey">...\</div>
```
在章(如components)下创建images
目录,将图片原文件名(如materialdesign-goals-cutrectangles_large_mdpi.png)存到该目录下,然后在文档中这样调用
![ALT文字](images/materialdesign-goals-landingimage_large_mdpi.png)