
android动画
文章平均质量分 81
开心汉堡包
这个作者很懒,什么都没留下…
展开
-
android属性动画—自己的测试代码
package com.example.animation_demo; import android.os.Bundle; import android.R.anim; import android.animation.ObjectAnimator; import android.animation.TypeEvaluator; import android.animation.原创 2015-07-02 15:02:56 · 464 阅读 · 0 评论 -
android动画之一Tween动画
==========================代码实现======================================= Android Tweened Animation一共有四种 Alpha: 淡入淡出效果 Scale: 缩放效果 Rotate: 旋转效果 Translate:移动效果 使用Tweened Animations的步骤翻译 2015-07-02 14:56:13 · 391 阅读 · 0 评论 -
Android 属性动画(Property Animation) 完全解析 (下)
上一篇Android 属性动画(Property Animation) 完全解析 (上)已经基本展示了属性动画的核心用法: ObjectAnimator实现动画,ValueAnimator实现动画,AnimatorSet的使用等~ 当然了属性动画还有一部分的知识点,也能做出很不错的效果,将在本篇博客为您展示~ 1、如何使用xml文件来创建属性动画 大家肯定都清楚,View转载 2015-06-22 21:45:30 · 470 阅读 · 0 评论 -
Android 属性动画(Property Animation) 完全解析 (上)
1、概述 Android提供了几种动画类型:View Animation 、Drawable Animation 、Property Animation 。View Animation相当简单,不过只能支持简单的缩放、平移、旋转、透明度基本的动画,且有一定的局限性。比如:你希望View有一个颜色的切换动画;你希望可以使用3D旋转动画;你希望当动画停止时,View的位置就是当前的位置;这些Vi转载 2015-06-22 21:44:37 · 430 阅读 · 0 评论 -
Android动画之Interpolator和AnimationSet
AnimationSet可以加入Animation,加入之后设置AnimationSet对加入的所有Animation都有效。 [java] view plaincopy AnimationSet anim=new AnimationSet(true); AlphaAnimation a=new AlphaAnimation转载 2015-07-02 15:04:33 · 358 阅读 · 0 评论 -
Android动画之LayoutAnimationController
LayoutAnimationController可以控制一组控件按照规定显示,有两种方法来实现 1.下面以XML文件实现,先在res下新建anim文件夹,新建一个文件alpha.xml [html] view plaincopy xml version="1.0" encoding="utf-8"?> set xmlns:android="转载 2015-07-02 16:21:21 · 410 阅读 · 0 评论 -
设置viewpager的过度
http://hukai.me/android-training-course-in-chinese/animations/screen-slide.html原创 2015-07-14 23:42:49 · 348 阅读 · 0 评论