先上图,一睹为快。看到图,身为资源web开发者的你,是不是在大脑中闪现出了一个个的技术名词,websocket、html5、css3(animation/transition)、javascript(ajax/setTimeout/setInterval)。同样专注web开发xx年的你,有没有考虑到...
分类:
Web程序 时间:
2014-07-06 18:41:20
阅读次数:
512
如果出现:
nested push animation can result in corrupted navigation bar
Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
一般这种情况是在自定义的t...
分类:
其他好文 时间:
2014-07-04 00:36:55
阅读次数:
223
http://stackoverflow.com/questions/7991086/iphone-core-animation-drawing-a-circle// Set up the shape of the circleint radius = 100;CAShapeLayer *circl...
分类:
移动开发 时间:
2014-07-01 22:36:06
阅读次数:
679
在为Fragment做切换动画,启动后遇到了一个异常:
Caused by: java.lang.RuntimeException: Unknown animation name: objectAnimator
截图如下:
我的代码如下:
fragment = Fragment.instantiate(getActivity(), clz.getName());...
分类:
移动开发 时间:
2014-07-01 14:33:01
阅读次数:
332
一、前言——
大家一定在百度音乐上在线听过歌,有没有注意到那个旋转唱片——
就上面那个,当音乐在播放的时候,那个光碟轮子在转,就想旋转木马一般。感觉好好玩啊。
碰巧想起前阵子做音乐播放器,哎,那这个也可以做在手机的音乐播放器上,这样就代替了进度条了。
一想到,就兴奋,于是,首先画圆形,然后放置背景图片,然后使用动画旋转。当音乐播放时,同时
开始播放圆形图片的动画,当音乐暂停时,暂...
分类:
移动开发 时间:
2014-06-29 22:32:09
阅读次数:
317
//利用CATransition来作模拟//模拟Push- (void)pushView:(UIView *)pushView inView:(UIView *)inView{ CATransition *animation = [CATransition animation]; ani...
分类:
其他好文 时间:
2014-06-27 14:41:15
阅读次数:
178
有两种类型的动画资源:属性动画在设定的时间内,通过修改与Animator类相关的对象的属性值来创建一个动画。视图动画有两种类型的视图动画框架补间动画(Tween animation):通过执行通过执行一系列的与Animation类相关的单一图片的转换来创建动画。帧动画(Frame animation...
分类:
移动开发 时间:
2014-06-26 19:32:41
阅读次数:
283
在 Android中,Animation动画效果的实现可以通过两种方式进行实现:一种是tweened animation渐变动画,另一种是frame by frame animation补间(画面转换)动画。tweened animation渐变动画有以下两种类型:1.alpha渐变透明度动画效果2...
分类:
移动开发 时间:
2014-06-26 19:24:48
阅读次数:
184
??一、帧动画你能够通过一系列图片文件,像例如以下这样,创建一个动画:[cpp] CCAnimation *animation = CCAnimation::create(); //从本地文件系统中载入图片文件到CCSpriteFrame中区,然后加入到CCAnimation中 for (int i...
分类:
其他好文 时间:
2014-06-25 16:53:17
阅读次数:
243
iOS Core Animation 动画 入门学习(一)基础 reference:https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Int....
分类:
移动开发 时间:
2014-06-25 12:35:48
阅读次数:
276