2

I know this is not the place for third-party libraries advertising, so I'll ask this on a as-generic-as-possible level: how can I implement material design onClick animation (the expanding circle) on my layouts? Is there something built-in or somebody-else-build-it in order to achieve this without writing my own animations from scratch?

Thank you very much

Marco Zanetti
  • 4,051
  • 6
  • 32
  • 48
  • Is your question how to add that design functionality for the devices that can support it? If it is, you'll have to create api level specific layouts that use those new properties. – Evan Bashir May 19 '15 at 22:27
  • Hello Evan, thank you for answering. Do you mean that I can set up specific properties in my styles file for lollipop and get the animations on layouts for free on lollipop devices? – Marco Zanetti May 19 '15 at 22:31
  • 1
    Absolutely. Check out this page: http://developer.android.com/training/material/compatibility.html – Evan Bashir May 19 '15 at 22:33
  • I think this would be a good place to start: https://developer.android.com/design/material/index.html – itwasntme May 19 '15 at 22:42
  • Thank you to both! I was more precisely referring to https://developer.android.com/training/material/animations.html. Didn't know it was enough (for post-lollipop devices) to apply standard tags in XML. Thank you! – Marco Zanetti May 20 '15 at 08:58
  • For Everybody's Information: what I get from the various links is that implementing Ripples (and other animations) in Lollipop is pretty straightforward but it's discouraged on pre-lollipop versions because of the missing transaction libraries. – Marco Zanetti May 20 '15 at 09:43

0 Answers0