0

I have one view animated with transle animation:

<translate
    android:fromYDelta="0"
    android:toYDelta="110%p"
    android:duration="2000"
    />


public void translte(View v){
        Animation animation= AnimationUtils.loadAnimation(context,R.anim.translate);
        animation.setFillAfter(true);
        v.startAnimation(animation);
    }

And i want to detect if that view hits another view in its way.

How would you do it?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

There is a question related with animation positions and maybe this answer helps.

João Zão
  • 170
  • 1
  • 11