2

I am trying to create an animation like this one to go from an fab to alert dialog. I am not sure how to define this animation whether it is via xml or an Animation Class. I am a big noob when it comes to defining animations so any and all help is greatly appreciated!

Nick Mowen
  • 2,572
  • 2
  • 22
  • 38

1 Answers1

2

If you don't want to spend much time to create a custom xml animation to your Floating Action Button, please check this additional FAB collections:

https://android-arsenal.com/tag/173

I think one of these looks pretty similar to your desired one.

You may also visit this tutorial: http://www.learn2crack.com/2015/10/android-floating-action-button-animations.html

Also check on StackOverflow:

Hope it help

Community
  • 1
  • 1
piotrek1543
  • 19,130
  • 7
  • 81
  • 94
  • ok, maybe you can help me. I am using [this] (https://github.com/bowyer-app/FabTransitionLayout) library with the bottom sheet version. I keep getting a crash about RevealLinearLayout but that isn't in the main tutorial so I am not sure what is going on. Any Idea? – Nick Mowen Jan 01 '16 at 01:37
  • propably you need to add some more extra libs to build.gradle – piotrek1543 Jan 01 '16 at 09:40