Merge "Size and position the donut."

This commit is contained in:
Daniel Nishi
2017-03-17 22:54:43 +00:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ public class DonutView extends View {
public DonutView(Context context, AttributeSet attrs) {
super(context, attrs);
float density = getResources().getDisplayMetrics().density;
mStrokeWidth = 10f * density;
mStrokeWidth = 6f * density;
mBackgroundCircle = new Paint();
mBackgroundCircle.setAntiAlias(true);