码迷,mamicode.com
首页 >  
搜索关键字:screen design    ( 8152个结果
How to add a button to PreferenceScreen
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
[LeetCode] Best Time to Buy and Sell Stock III
ay 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 at...
分类:其他好文   时间:2014-07-13 23:22:16    阅读次数:294
Proxy Design Pattern 代理设计模式
代理设计模式,这个模式很多用于服务器客户端之类的,上网也经常使用代理之类的,想起来感觉是很复杂的,不过这个设置模式本身是很简单的。 就是一个类调用另外一个类的函数,客户调用的是一个类,而实际的工作是由另外一个类做的。 体现这个设计模式的代码: #include class RealObj { public: virtual void handleReq() = 0; };...
分类:其他好文   时间:2014-07-13 17:30:48    阅读次数:188
LeetCode——Best Time to Buy and Sell Stock III
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 at most two transactions. Note: You ma...
分类:其他好文   时间:2014-07-13 13:55:14    阅读次数:305
首页的一些积累
magento商城的首页的大部分内容都是在后台的CMS->page->home page里面的,有congent和design,即内容和布局1,当然商城的关键词也是在这里->mata data,这里有加关键词和描述,2,商城首页分类标题是在content部分修改,以及分类下要调用的分类产品等,3,产...
分类:其他好文   时间:2014-07-13 10:05:14    阅读次数:226
Material design之New Widgets(RecyclerView CardView)
New Widgets:提供了两个新的控件RecyclerViewCardView这两个控件包含在了Android L的support library中,他们可以用于显示复杂的布局而且都默认采用了Material的风格。RecyclerView RecyclerView是更高级的Listview。....
分类:其他好文   时间:2014-07-13 08:05:48    阅读次数:587
Design Pattern Visitor 访问者模式
访问者模式,就是我们已经有一系列的对象了,那么就可以使用一个visitor对象一次性遍历所有的对象,就好像这个visitor访问了所有这些对象一样,所以就叫访问者模式。 实现起来也很简单,就是三个基类,其他类都是这些基类的衍生类。 下面的Action类就是访问者类了,而Person类就是被访问的对象类,而House是一个接待容器,可以接待不同的Action类。 #include #incl...
分类:其他好文   时间:2014-07-12 22:22:16    阅读次数:205
Composite Design Pattern 组合设计模式
组合设计模式,就是可以把多个类组合在一个大类中,形成一个树形结构。 #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
【VC编程技巧】窗体?3.5对单文档或者多文档程序制作启动画面
(一)概要: 文章描述了怎样通过Visual C++ 2012或者Visual C++ .NET,为单文档或者多文档程序制作启动画面。在Microsoft Visual Studio 6.0中对于单文档程序(SDI)我们可以很方便利用微软提供的组件Visual C++ Component (Splash Screen)。因为在Microsoft Visual Studio 6.0以后的版本或者V...
分类:Windows程序   时间:2014-07-12 18:52:53    阅读次数:296
LeetCode——Best Time to Buy and Sell Stock II
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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!