protected static Sprite createSprite ( Media media ) { final Sprite sprite = Drawable . loadSprite ( media ) ; sprite . load ( ) ; sprite . prepare ( ) ; return sprite ; }
Create a sprite from its filename .