This demo illustrates the use of the useOutlinePaint and useFillPaint flags with the XYLineAndShapeRenderer.
useOutlinePaint
useFillPaint
XYLineAndShapeRenderer