File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
catalog/java/io/material/catalog/progressindicator Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,10 @@ public View onCreateDemoView(
5050
5151 CircularProgressIndicatorSpec spec =
5252 new CircularProgressIndicatorSpec (getContext (), /*attrs=*/ null );
53- spec .indicatorInset = 0 ; // No inset.
54- spec .indicatorSize = (int ) ViewUtils .dpToPx (getContext (), 22 ); // Circular radius is 10 dp.
53+ spec .indicatorInset = (int ) ViewUtils .dpToPx (getContext (), 2 );
54+ spec .indicatorSize = (int ) ViewUtils .dpToPx (getContext (), 20 );
55+ spec .trackThickness = (int ) ViewUtils .dpToPx (getContext (), 5 ) / 2 ;
56+
5557 IndeterminateDrawable <CircularProgressIndicatorSpec > progressIndicatorDrawable =
5658 IndeterminateDrawable .createCircularDrawable (getContext (), spec );
5759
You can’t perform that action at this time.
0 commit comments