private void initBallSkin(Context context) { Bitmap ballSkinFull = BitmapFactory.decodeResource( getResources(), dataHolder.getConfiguration() == null ? R.drawable.balls : dataHolder.getConfiguration().getSkin()); dataHolder.setBallSkin(ballSkinFull); dataHolder.setExploseBallSkin( BitmapFactory.decodeResource(getResources(), R.drawable.explosion)); }
private void initBackgroundImage() { dataHolder.setBackgroundImage( BitmapFactory.decodeResource(getResources(), R.drawable.background)); }