Code example for ObjectAnimator

Methods: isRunning

0
isAnimationRunning = mVerticalAnimation.isRunning();
		} 
		if(mHorizontalAnimation != null)
		{ 
			isAnimationRunning = mHorizontalAnimation.isRunning();
		} 
		return isAnimationRunning;
	} 
 
	@Override 
	public void onClick(View v) {
		// TODO Auto-generated method stub 
		View parent = (View)v.getParent(); 
		boolean isAnimationRunning = isAnimationRunning(); 
		if(parent == mHorizontal && !isAnimationRunning) 
		{ 
			 if(mHorizontalAnimation != null) 
             { 
             	mHorizontalAnimation.cancel(); 
             	mHorizontalAnimation = null;