
DevBytes
dblackde
这个作者很懒,什么都没留下…
展开
-
DevBytes: Bounce Animations
简介:简单的使用 ValueAnimator, ObjectAnimator, and interpolators控制一个形状在屏幕上面移动。视频 观看地址:https://www.youtube.com/watch?v=vCTcmPIKgpM代码:public class Bouncer extends Activity { @Override public原创 2013-10-05 18:10:40 · 1261 阅读 · 0 评论 -
DevBytes: CrossFading Animations
简介:这个例子显示了怎样使用TransitionDrawable ,two drawables互换显示过程中的淡出,淡入的效果。两张图片的过度的效果。public class CrossFading extends Activity { int mCurrentDrawable = 0; @Override public void onCreat原创 2013-10-06 13:12:41 · 993 阅读 · 0 评论 -
DevBytes: View Animations
简介:本文讲解了,怎样使用pre-3.0 API 创建多种多样的动画的效果,关于Property Animations 请参考上一讲的内容 (DevBytes: Property Animations)。https://www.youtube.com/watch?v=_UWXqFBF86Upublic class ViewAnimations extends原创 2013-10-06 17:36:34 · 1058 阅读 · 0 评论 -
DevBytes: KeyFrame Animations
简介:How to use TransitionDrawable to perform a simple cross-fade effect between two drawables.原创 2013-10-05 23:38:11 · 1104 阅读 · 0 评论 -
DevBytes: Property Animations
简介:怎样使用 property animations,特别是ObjectAnimator,给出了多种多样的动画。比起ViewAnimations ,ObjectAnimator表现了更多易使用的方法。ps: property animations只是支持在android 3.0之上。https://www.youtube.com/watch?v=3UbJhmkeS原创 2013-10-06 13:47:36 · 1866 阅读 · 0 评论 -
DevBytes: RequestDuringLayout
简介:Gooogle Android 团队在 https://www.youtube.com/watch?v=HbAeTGoKG6k 的课程《DevBytes: RequestDuringLayout》,描述了,我们不应该在代码布局的时候,我们不应该在上面写一些code,特别是布局的代码,这将要影响布局。Demo下载地址:http://developer.android.com/shar原创 2013-09-29 10:39:59 · 1101 阅读 · 0 评论 -
DevBytes: Bitmap Scaling
图片的Scaling:下面这个example展示了怎样使用BitmapOptions,影响图片的加载的效果。Sub-sampling 能够加快图片加载的时间和 减少图片所占用的内存。它不能得到图片的大小,而只是在2的幂下的图片的大小 1/2 1/4 1/8。源码:* * This example shows how the use of BitmapOptions affe原创 2013-09-28 23:39:44 · 972 阅读 · 0 评论