Size and position the donut.

Change-Id: I06801bfb342be6ded2743f12998371e1aee49ba9
Fixes: 36224169
Test: Manual
This commit is contained in:
Daniel Nishi
2017-03-15 14:30:53 -07:00
parent 5fa4df348b
commit 14ecdf1538
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);