Code example for LayoutTransition

0
		 
		mCustomAnim.setChecked(true);
	} 
 
	public void resetTransition() { 
		mTransition = new LayoutTransition();
		mContainer.setLayoutTransition(mTransition);
	} 
 
	public void setupCustomAnimation() { 
		PropertyValuesHolder pvhLeft = PropertyValuesHolder.ofInt("left", 0, 1);
		PropertyValuesHolder pvhTop = PropertyValuesHolder.ofInt("top", 0, 1);
		PropertyValuesHolder pvhRight = PropertyValuesHolder.ofInt("right", 0,
				1); 
		PropertyValuesHolder pvhBottom = PropertyValuesHolder.ofInt("bottom",
				0, 1); 
		PropertyValuesHolder pvhXScale = PropertyValuesHolder.ofFloat("scaleX",
				1f, 0f, 1f); 
		PropertyValuesHolder pvhYScale = PropertyValuesHolder.ofFloat("scaleY",
				1f, 0f, 1f);