第五章:TransformsAffine TransformsCGAffineTransform是二维的Creating a CGAffineTransform主要有三种变化方法旋转:CGAffineTransformMakeRotation(CGFloat angle)缩放:CGAffineTra...
分类:
移动开发 时间:
2014-10-09 02:17:17
阅读次数:
289
Guidelines for animationUse CSS keyframe animation or CSS transitions, if at all possible. The browser can optimize painting and compositing bigtime h...
分类:
Web程序 时间:
2014-10-09 02:05:07
阅读次数:
246
第六章:Specialized Layers类别用途CAEmitterLayer用于实现基于Core Animation粒子发射系统。发射器层对象控制粒子的生成和起源CAGradientLayer用于绘制一个颜色渐变填充图层的形状(所有圆角矩形边界内的部分)CAEAGLLayer/CAOpenGLL...
分类:
移动开发 时间:
2014-10-09 01:57:27
阅读次数:
891
转载.Book DescriptionPublication Date:August 12, 2013Core Animation is the technology underlying Apple’s iOS user interface. By unleashing the full powe...
分类:
移动开发 时间:
2014-10-09 01:53:07
阅读次数:
386
在自定义Dialog时显示的界面中老是有黑色的边框,下面就介绍使用style去除黑色边框方法。
首先在values/styles定义自定义样式:
@null
@drawable/actionbar_item_background
true
true
@null
#FFF
@d...
分类:
移动开发 时间:
2014-10-09 01:46:19
阅读次数:
226
[objc]view plaincopyprint?转载学习-(void)drawLayer:(CALayer*)layerinContext:(CGContextRef)ctx{CGFloatwidth=10.0f;//drawathickredcircleCGContextSetLineWidt...
分类:
移动开发 时间:
2014-10-09 01:36:07
阅读次数:
325
第四章:Visual EffectsRounded Corners例子4.1cornerRadius源码在这里下载:http://www.informit.com/title/9780133440751[objc]view plaincopyprint?#import"ViewController....
分类:
移动开发 时间:
2014-10-09 00:18:57
阅读次数:
401
第一篇我们就google官方给出的Navigation Drawer demo做了一个简单的介绍,细心的童鞋可能已经发现问题了,google虽然是在support v4中添加的这个控件,但是他给的demo中却使用了ActionBar!ActionBar是...
分类:
其他好文 时间:
2014-10-09 00:10:57
阅读次数:
236
====================问题描述==================== 我想在Activity里面用DrawerLayout+Fragment做抽屉菜单,然后在右侧第一个Fragment里面包含ActionBar结果项目运行后,Activity的OnCreate运行到super.o...
分类:
其他好文 时间:
2014-10-08 17:59:55
阅读次数:
166
====================问题描述==================== 有关actionBar自定义样式...我希望自定义ActionBar中Tab标签页标题的字体样式,应该是在style.xml中添加android:actionBarTabTextStyle样式吧?但是实际却并没...
分类:
其他好文 时间:
2014-10-08 12:41:55
阅读次数:
279