You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ Android-CircularRevealFragment
3
3
4
4
A demo about how to show and hide fragments using the new Android Lollipop circle reveal view animations.
5
5
6
-
A fragment is essentially a view, but it is displayed using a TragmentTransaction, which supports references to animations defined in resources, but circle reveal animations can't be defined in resources, so this is one solution.
6
+
A fragment is essentially a view, but it is displayed using a FragmentTransaction, which supports references to animations defined in resources, but circle reveal animations can't be defined in resources, so this is one solution.
7
7
8
8
The fragment takes care of displaying itself using the ViewAnimationUtils.createCircularReveal as soon as the view has been layout. It receives the center of the circle using fragment arguments bundle, which is fixed now, but you can change it. The button just adds a new fragment to the linear layout, the circle reveal animation is done by the fragment.
0 commit comments