android - How to make whatsapp type of animation for opening the menu from toolbar(actionbar) -


description:

  1. i updated whatsapp , noticed animation menu item clicked on toolbar. how achieve effect?
  2. are there opensource projects achieve this?
  3. i have not posted code because. have no clue how doing it.

snapshot-1 : before clicking attachment button in menu img


snapshot-2 : after clicking attachment button in menu

img2


how achieve this?

seems "ported" lollipop animation in pre-l devices. simplest way using libraries igvalle's material-animation (see #4). minsdk 16, hope can decrease 14 or below.

some other libraries: transitionsbackport, prelollipoptransition, transitions-everywhere.

please let me know if create animation!


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -