You need to change the Paint style to stroke if you just want an outline with no fill:
Paint
Paint p = new Paint();p.setStyle(Paint.Style.STROKE);