public static AnimationBackend createSampleColorAnimationBackend ( Resources resources ) { // Get the animation duration in ms for each color frame int frameDurationMs = resources . getInteger ( android . R . integer . config_mediumAnimTime ) ; // Create and return the backend return new ExampleColorBackend ( SampleData . COLORS , frameDurationMs ) ; }
Creates a simple animation backend that cycles through a list of colors .