默认是640*960的分辨率,但是我的设计分辨率是480*800所以得改改在config.lua里的改成-- design resolutionCONFIG_SCREEN_WIDTH = 480CONFIG_SCREEN_HEIGHT = 800config.json里的改成"init_cfg":....
分类:
其他好文 时间:
2014-12-11 12:09:27
阅读次数:
171
随着3G的普及,越来越多的人使用手机上网。移动设备正超过桌面设备,成为访问互联网的最常见终端。于是,网页设计师不得不面对一个难题:如何才能在不同大小的设备上呈现同样的网页?手机的屏幕比较小,宽度通常在600像素以下;PC的屏幕宽度,一般都在1000像素以上(目前主流宽度是1366×768),有的还达...
分类:
Web程序 时间:
2014-12-11 11:52:55
阅读次数:
202
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2014-12-11 00:16:55
阅读次数:
139
http://www.sitepoint.com/understanding-responsive-web-design-cross-browser-compatibility/In thelast article, I described three ways to work with with ...
分类:
Web程序 时间:
2014-12-10 22:36:39
阅读次数:
222
linefinder.h同上一篇博文
main.cpp
/*------------------------------------------------------------------------------------------*This file contains material supporting chapter 7 of the cookbook:
Compute...
分类:
其他好文 时间:
2014-12-10 21:22:38
阅读次数:
291
《Material Design》提到,Android L版本中新增了RecyclerView、CardView 、Palette。RecyclerView、CardView为用于显示复杂视图的新增Widget。Palette作为调色板类,可以让你从图像中提取突出的颜色。RecyclerView ....
分类:
移动开发 时间:
2014-12-09 21:25:23
阅读次数:
288
Material Design是google io开发者大会推出的新的设计语言,Material Design不像Android过去采用的Holo风格那样深沉,增加或修改了阴影动画功能,使其更加跳动和富有活力。 Android L 开发者预览版包含了支持Material Design的Apps。.....
分类:
其他好文 时间:
2014-12-09 21:22:11
阅读次数:
171
Android L 开发者预览支持库提供两个新的Widgets,RecyclerView和CardView。使用这两个Widgets可以显示复杂的Listview和卡片布局,这两个Widgets默认使用Material design。RecyclerView RecyclerView是一个更高级柔....
分类:
其他好文 时间:
2014-12-09 21:21:07
阅读次数:
162
使用Material Design设计应用:Take a look at thematerial design specification.Apply the materialthemeto your app.Define additionalstylesto customize the mater...
分类:
其他好文 时间:
2014-12-09 21:15:55
阅读次数:
187
Material Theme提供了一下功能:1、系统widgets可以设置调色板2、系统widgets的触摸反馈3、Activity过渡动画 你可以根据你品牌的色彩来定义Material Theme,可以使用Material Theme的色彩为status bar、action bar着色。参考下....
分类:
其他好文 时间:
2014-12-09 21:08:15
阅读次数:
187