Material Theme提供了三方面的内容:系统组件的颜色可以自定义更改系统组件添加了触摸反馈动画效果Activity切换动画效果系统主题默认被定义在以下三个样式中: 使用Material主题的时候需要注意,Material目前只能运行在Android L的预览版本上。系统组件颜色的更改: .....
分类:
其他好文 时间:
2014-07-16 19:47:55
阅读次数:
282
There is another solution for customizing the appearance of the preferences.Design a normal XML layout with buttons or whatever you want to add to the...
分类:
其他好文 时间:
2014-07-14 00:47:37
阅读次数:
306
目前已经两个团队做了不错的翻译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
New Widgets:提供了两个新的控件RecyclerViewCardView这两个控件包含在了Android L的support library中,他们可以用于显示复杂的布局而且都默认采用了Material的风格。RecyclerView RecyclerView是更高级的Listview。....
分类:
其他好文 时间:
2014-07-13 08:05:48
阅读次数:
587
访问者模式,就是我们已经有一系列的对象了,那么就可以使用一个visitor对象一次性遍历所有的对象,就好像这个visitor访问了所有这些对象一样,所以就叫访问者模式。
实现起来也很简单,就是三个基类,其他类都是这些基类的衍生类。
下面的Action类就是访问者类了,而Person类就是被访问的对象类,而House是一个接待容器,可以接待不同的Action类。
#include
#incl...
分类:
其他好文 时间:
2014-07-12 22:22:16
阅读次数:
205
组合设计模式,就是可以把多个类组合在一个大类中,形成一个树形结构。
#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
(一)概要:
文章描述了怎样通过Visual C++ 2012或者Visual C++ .NET,为单文档或者多文档程序制作启动画面。在Microsoft Visual Studio 6.0中对于单文档程序(SDI)我们可以很方便利用微软提供的组件Visual C++ Component (Splash Screen)。因为在Microsoft Visual Studio 6.0以后的版本或者V...
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