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