Material Theme提供了三方面的内容:系统组件的颜色可以自定义更改系统组件添加了触摸反馈动画效果Activity切换动画效果系统主题默认被定义在以下三个样式中: 使用Material主题的时候需要注意,Material目前只能运行在Android L的预览版本上。系统组件颜色的更改: .....
分类:
其他好文 时间:
2014-07-16 19:47:55
阅读次数:
282
目前已经两个团队做了不错的翻译http://design.1sters.com/http://www.ui.cn/Material/https://github.com/stormzhang/9GAGAndroid网址或BlogAndroid官网身为Android开发者不知道这个网站就太说不过去了,...
分类:
移动开发 时间:
2014-07-13 11:22:08
阅读次数:
242
This is the 1st pattern I study. In here, I will mark down my doubts, java study, DESIGN PRINCIPLES, DESIGN PATTERN. There are 3 design principles in ...
分类:
其他好文 时间:
2014-07-13 10:51:33
阅读次数:
229
magento商城的首页的大部分内容都是在后台的CMS->page->home page里面的,有congent和design,即内容和布局1,当然商城的关键词也是在这里->mata data,这里有加关键词和描述,2,商城首页分类标题是在content部分修改,以及分类下要调用的分类产品等,3,产...
分类:
其他好文 时间:
2014-07-13 10:05:14
阅读次数:
226
命令模式(command pattern) 详细解释本文地址:http://blog.csdn.net/caroline_wendy命令模式(command pattern) : 将请求封装成对象, 以便使用不同的请求\队列\日志来參数化其它对象.命令模式也能够支持撤销操作.简单的命令模式的实现:1...
分类:
其他好文 时间:
2014-07-13 08:21:02
阅读次数:
289
New Widgets:提供了两个新的控件RecyclerViewCardView这两个控件包含在了Android L的support library中,他们可以用于显示复杂的布局而且都默认采用了Material的风格。RecyclerView RecyclerView是更高级的Listview。....
分类:
其他好文 时间:
2014-07-13 08:05:48
阅读次数:
587
状态模式(state pattern) 详解本文地址: http://blog.csdn.net/caroline_wendy状态模式(state pattern): 允许对象在内部状态改变时改变它的行为, 对象看起来好像修改了它的类.建立Context类, 包含多个具体状态(concrete state)类的组合, 根据状态的不同调用具体的方法, state.handle(), 包含set\ge...
分类:
其他好文 时间:
2014-07-12 23:55:20
阅读次数:
385
组合设计模式,就是可以把多个类组合在一个大类中,形成一个树形结构。
#include
#include
#include
using namespace std;
class Coporate
{
protected:
string name;
set coporate;
public:
explicit Coporate(string n = "", string d...
分类:
其他好文 时间:
2014-07-12 19:12:55
阅读次数:
156
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete as many transactions as you like (ie, buy on...
分类:
其他好文 时间:
2014-07-12 16:31:50
阅读次数:
192
适配器模式(Adapter Pattern)就是对一个类做适配,使之符合客户端的需求,能够正常的工作。 就像是变压器(Adapter),美国的生活电压是110V,中国的是220V,美国的电器要在中国使用就需要加上一个变压器(Adapter)。 适配器模式也被称为包装模式(Wrapper Pat...
分类:
其他好文 时间:
2014-07-12 14:14:29
阅读次数:
172