Size and position the donut.
Change-Id: I06801bfb342be6ded2743f12998371e1aee49ba9 Fixes: 36224169 Test: Manual
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user