30

Description:

  1. I recently updated whatsapp and noticed the animation for menu item clicked on toolbar. How to achieve this effect?
  2. Are there any opensource projects to achieve this?
  3. I have not posted any code because. I have no clue how they are doing it.

Snapshot-1 : Before clicking the attachment button in menu img


Snapshot-2 : After clicking the attachment button in menu

img2


How to Achieve this?

onexf
  • 3,674
  • 3
  • 22
  • 36
Devrath
  • 42,072
  • 54
  • 195
  • 297
  • i think this will give you some hint http://blog.grafixartist.com/circular-reveal-effect-like-whatsapp-in-android/ – Ravi Jan 07 '16 at 09:10
  • 1
    Exactly! http://pulse7.net/android/android-create-circular-reveal-animation-and-ripple-effect-like-whatsapp/ – User May 09 '17 at 13:43

1 Answers1

14

Seems like they "ported" lollipop animation in pre-L devices. The simplest way to do this is using libraries like Igvalle's Material-Animation (see #4). Its minSdk is 16, but I hope you can decrease it for 14 or below.

Some other libraries: TransitionsBackport, PreLollipopTransition, transitions-everywhere.

Please let me know if you create this animation!

anil
  • 2,083
  • 21
  • 37
  • 8
    I have to say my github project is not really a library but an example of how to do this kind of animations :) – lgvalle Sep 03 '15 at 08:24