新版的V4包中有了这个类—— ActivityOptionsCompat,我们可以通过这个类来启动activity和添加动画。但不幸的是所有的动画都没有给2.x用的,大部分动画也对4.x不兼容。好消息是这个类是兼容2.x的,通过这个类编写的嗲吗,虽然不能给2.x带来动画,但也能确保全版本稳定运行,不...
分类:
其他好文 时间:
2014-11-10 21:08:15
阅读次数:
269
Eric Evans的“Domain-Driven Design领域驱动设计”简称DDD,Evans DDD是一套综合软件系统分析和设计的面向对象建模方法,本站Jdon.com是国内公开最早讨论DDD网站之一,可订阅DDD专题。初学者学习DDD可从研究本站Jdon框架的DDD应用源码开始,戳这里开始...
分类:
Web程序 时间:
2014-11-10 19:24:50
阅读次数:
216
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the...
分类:
系统相关 时间:
2014-11-08 23:28:09
阅读次数:
295
Toolbar其实是一个ActionBar的变体,大大扩展了Actionbar。我们可以像对待一个独立控件一样去使用ToolBar,可以将它放到屏幕的任何位置,不必拘泥于顶部,还可以将它改变高度或者是在ToolBar上使用动画。下面我们来讲如何使用这个控件。1.将控件放入布局中 我们在...
分类:
其他好文 时间:
2014-11-08 12:01:39
阅读次数:
324
第二天,MemberToday’s WorkTomorrow’s WorkFeng NieUI interaction codingUI interaction codingLijun WuUI design codingUI design codingManni WangSocial networ...
分类:
其他好文 时间:
2014-11-07 18:50:01
阅读次数:
158
在微软的ASP编程体系中,ADO对象的建立,使得从网页访问数据库成为一件易事,特别是ADO的Recordset对象使得控制数据的输出显示更为方便、自由。而在Visual InterDev6.0(以下简称VI6.0)中,由于Script Object Model(以下简称SOM)、Design-T.....
分类:
Web程序 时间:
2014-11-07 12:49:04
阅读次数:
217
很长一段时间没写东西了,其实是因为最近在研究Material Designer这个东西,熬夜熬的身体也不是很好了。所以就偷懒没写东西,这回开的这个系列文章是讲如何将Material Designer在程序中实现。作为一个程序员我们不需要关心太多的设计,我们只需要知道设计师给出的要求我们能否实现就行了...
分类:
其他好文 时间:
2014-11-07 11:12:06
阅读次数:
147
Android - 错误:"No resource found that matches the given name android:Theme.Material"本文地址: http://blog.csdn.net/caroline_wendy错误: "No resource found that matches the given name 'android:Theme.Material.L...
分类:
移动开发 时间:
2014-11-07 08:42:05
阅读次数:
172
Demo演示:Android L——Material Desgin特性中的RecyclerView,CardView,Floating Action Button,视图阴影轮廓,Activity transitions,Shared Elements Transition等等的综合应用...
分类:
移动开发 时间:
2014-11-07 06:20:12
阅读次数:
374
code source:salvia
代码展示
template void CRasterizer::rastTri_constColTex(int iy0,int iy1,sfByte8* buf,ZBUF_TYPE* zbuf,
t_rasterizier_point attribute,T col,t_material* material)
{
int a...
分类:
编程语言 时间:
2014-11-06 22:00:09
阅读次数:
284