@Override
    protected void drawBackground(Canvas canvas, Paint backgroundPaint) {
        canvas.drawLine(mStartX, mCenterY, mEndX, mCenterY, backgroundPaint);
    }
A drawable to draw loading form Line Type
caprice/ui/src/main/java/net/qiujuer/genius/ui/drawable/LoadingLineDrawable.java