Animation in android canvas and saving it.