I'm currently trying to create a circular transition between my FAB and another action.
From what I understood in the documentation, I should use makeSceneTransitionAnimation just like this:
public void onFabClicked(View v){ try { Intent intent = new Intent(this, SearchActivity.class); ActivityOptions options = ActivityOptions .makeSceneTransitionAnimation(this, v, "reveal"); startActivity(intent, options.toBundle()); } catch (Exception e) {
Unfortunately, the current animation displays a rectangle during the animation.
How can we turn this into a beautiful circular disclosure that we love at Lollipop?
Thanks.
EDIT:
I am trying to achieve this (except that the color should be fullscreen, but you get the point)): 
What I actually get:

source share