还剩9页未读,继续阅读
本资源只提供10页预览,全部文档请下载后查看!喜欢就下载吧,查找使用更方便
文本内容:
Android与iOS视觉规范2016-09-07狂奔小米粒设计中的拿来主义………………刚出道米粒一枚,数据显示Android市场占比越来越大,我却死磕iOS这样以后怎么立足射击圈于是查阅大量资料看到这个数据心里暗自欢喜(国产手机崛起)在我接触UI设计到现在近两年的时间里身边的学哥学姐总是对我说按照iOS规范出图就可以(没有主见说啥是啥……)于是乎……Android规范差点被我遗弃掉近期恶补规范,将其总结如下 Android规范 安卓中dp为距离单位、sb为字号单位
1.界面尺寸 (在安卓中,系统密度为160dpi的中密度手机屏幕为基准屏幕)320*480 1dp=1px480*800 1dp=
1.5px720*1280 1dp=2px1080*1920 1dp=3px Idpi:mdpi:hdpi:xhdpi:xxhdpi=3:4:6:8:
122.界面元素尺寸在Android中高度可用程序自定义无严格要求)状态栏50px导航栏120px标签栏120px图标大小96*96pxbut…………状态栏高度+导航栏高度=128px
3.字体字号sp与px尺寸换算和dp与px换算一样 例如320px中 1px=1dp=1sp、720px中 1dp=2px=2sp) Android英文字体Roboto 中文字体droidsansfallback谷歌自己的字体 近似方正兰亭细黑)字体大小没有严格标准(可以截个字体显示舒服的页面直接拖到设计软件里比对字体大小)常用4种字号40px 32px 28px 24px 20sp 16sp 14sp 12sp注意啦~若是设计稿以px为单位,在后期标注时一定要告知程序猿们当前标注的密度他们需要进行换算例如xhdpi 1dp=2px=2sp iOS规范
1.界面尺寸 界面四元素❶状态栏(statusbar) ❷导航栏(navigation)...。