default:
break:
private void startAnim(){
for(inObjectAnimator animator=objectAnimator.of
break:
private void startAnim(){
for(inObjectAnimator animator=objectAnimator.of
2015-01-29
private int[] res={};
private list<ImageView>imageViewList=new ArrayList<ImageView>();
imageView.setOnclick
imageViewList.add(imageView);
public void onClick(View v){
swich(v.getId()){
case r.id.imageView_a:
break;
private list<ImageView>imageViewList=new ArrayList<ImageView>();
imageView.setOnclick
imageViewList.add(imageView);
public void onClick(View v){
swich(v.getId()){
case r.id.imageView_a:
break;
2015-01-29
ValueAnimator;
public void click(View){
Object Animator animator=ObjectAnimator.ofFloat(view,"alpha".0F,1F);
animator.setDuration(100)'
animator.addlistener(new Animator.Animator
public void click(View){
Object Animator animator=ObjectAnimator.ofFloat(view,"alpha".0F,1F);
animator.setDuration(100)'
animator.addlistener(new Animator.Animator
2015-01-29
AnimatorSet set=new AnimatorSet();
set.playTogether();
ObjectAnimator animator1=ObjectAnimator.ofFloat();
ObjectAnimator animator2=ObjectAnimator.ofFloat();
set.playTogether();
set.START();
DURATION();
set.playTogether();
ObjectAnimator animator1=ObjectAnimator.ofFloat();
ObjectAnimator animator2=ObjectAnimator.ofFloat();
set.playTogether();
set.START();
DURATION();
2015-01-29
PropertyValuesHolder p1=PropertyValuesHolder.ofFoat();
objectAnimator.ofpropertyValuesHolder(imageView,p1,p2,p3).setFDurition().start();
objectAnimator.ofpropertyValuesHolder(imageView,p1,p2,p3).setFDurition().start();
2015-01-29
ObjectAnimation
ObjectAnimator.ofFloat(imageView,set
I love you.
object animation;
ObjectAnimation.ofFloat;
ObjectAnimator.ofFloat(imageView,"translationX",0,200F).setDuration(1000).start();
ObjectAnimator.ofFloat(imageView,set
I love you.
object animation;
ObjectAnimation.ofFloat;
ObjectAnimator.ofFloat(imageView,"translationX",0,200F).setDuration(1000).start();
2015-01-29
ImageView imageView=(IMAGE
imageView.startAnimation();
aniamtion.setFillAfter(true);
imageView.startAnimation();
aniamtion.setFillAfter(true);
2015-01-29
android:
动画框架L属性:animator:animation:
public void click(View view){
Toast.makeText(this,"clicked",Toast.length_short)。.show();
public void move(View view){
TranslateAnimation animation=new TranslateAnimation();
animation.setDuration();
动画框架L属性:animator:animation:
public void click(View view){
Toast.makeText(this,"clicked",Toast.length_short)。.show();
public void move(View view){
TranslateAnimation animation=new TranslateAnimation();
animation.setDuration();
2015-01-29