Code example for LayoutTransition

0
				}); 
	} 
 
	// 重新生成LayoutTransition对象并设置给container 
	private void resetTransition() { 
		mTransitioner = new LayoutTransition();
		container.setLayoutTransition(mTransitioner);
	} 
 
	// 生成自定义动画 
	private void setupCustomAnimations() { 
		// 动画:CHANGE_APPEARING 
		// Changing while Adding 
		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 pvhScaleX = PropertyValuesHolder.ofFloat("scaleX",
				1f, 0f, 1f);