ShapeDrawable oval = new ShapeDrawable (new OvalShape());
oval.getPaint().setStyle(Paint.Style.STROKE); // 테두리 선 스타일
oval.getPaint().setStrokeWidth(2); //테두리 선 굵기
oval.getPaint().setAntiAlias(true);
oval.getPaint().setColor(getResources().getColor(R.color.lightGray)); // 색상지정


+ Recent posts