Click here to Skip to main content
15,299,443 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am creating a chat app.i want to achieve chat bubble flying animation that starts from edittext to recyclerview last item like this.
Chat Animation by Jakub Antalik on Dribbble[^]

i tried using objectanimator to acheive from bottom to top but animation not starts from edittext.

What I have tried:

Java
ObjectAnimator animation = ObjectAnimator.ofFloat(view, "translationY", 100,0);
               animation.setInterpolator(new LinearInterpolator());
               animation.setDuration(1000);
               animation.start();

Please help me how to achieve this animation.
Posted
Updated 21-Jun-20 17:16pm
v2

1 solution

Java
//User esse código

ObjectAnimator objectAnimator = ObjectAnimator.ofFloat(view,"translationY",1000f,500f);
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900