@Override
    public void draw(Canvas canvas) {
        if ((mState.mUseColor >>> 24) != 0) {
            mPaint.setColor(mState.mUseColor);
            canvas.drawRect(getBounds(), mPaint);
        }
    }
Creates a new ColorDrawable with the specified color.

@param color The color to draw.
menudrawer/src/net/simonvt/menudrawer/ColorDrawable.java