Last active
October 8, 2018 08:54
-
-
Save andreikastsiuk/33d4f1af4e9480f5a8ead68a993b8987 to your computer and use it in GitHub Desktop.
The little secret of android:animateLayoutChanges. Taken from https://proandroiddev.com/the-little-secret-of-android-animatelayoutchanges-e4caab2fddec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { | |
((ViewGroup) findViewById(R.id.llRoot)).getLayoutTransition() | |
.enableTransitionType(LayoutTransition.CHANGING); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment