Code example for AlphaAnimation

Methods: setDuration, setStartOffset

0
		final AlphaAnimation in = new AlphaAnimation(0.0f, 1.0f);
 
		in.setStartOffset(0);
		in.setDuration(500);
 
		final AlphaAnimation out = new AlphaAnimation(1.0f, 0.0f);
 
		out.setStartOffset(0);
		out.setDuration(500);
 
		v.setInAnimation(in);
		v.setOutAnimation(out);
	} 
 
	/** 
	 * Scan through a cursor of calendars and check if names are duplicated. 
	 *  
	 * This travels a cursor containing calendar display names and fills in the 
	 * provided map with whether or not each name is repeated. 
	 *  
	 * @param isDuplicateName