android draw line canvas height code example Example: android canvas line thickness Paint myPaint = new Paint(); myPaint.setStrokeWidth(8)