Created
July 28, 2014 11:29
-
-
Save ursimon/a6756688c357161be0f5 to your computer and use it in GitHub Desktop.
Setting layout transitions for changes ANDROID
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>=16) { // this is only for Jelly Bean and up | |
LinearLayout container = (LinearLayout) getView().findViewById(R.id.container); | |
LayoutTransition transition = container.getLayoutTransition(); | |
transition.enableTransitionType(LayoutTransition.CHANGING); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment