Skip to content

Instantly share code, notes, and snippets.

@ursimon
Created July 28, 2014 11:29
Show Gist options
  • Select an option

  • Save ursimon/a6756688c357161be0f5 to your computer and use it in GitHub Desktop.

Select an option

Save ursimon/a6756688c357161be0f5 to your computer and use it in GitHub Desktop.

Revisions

  1. ursimon created this gist Jul 28, 2014.
    5 changes: 5 additions & 0 deletions LayoutTransition.CHANGING
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    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);
    }