Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
ni...@google.com <ni...@google.com> #2
To extend on this request, it would be great if the “cap” for the stroke was configurable, at the moment it is hard coded to StrokeCap.Butt in the private drawCircularIndicator and not configurable from the default; StrokeCap.Butt in the private drawLinearIndicator.
So a cap as a param (for LinearProgressIndicator), or overloading the constructors for ProgressIndicators (Circular & Linear) to include a Stroke param, would be great. We would love to use the provided indicators but still want the curved look, so this addition would be greatly appreciated.
So a cap as a param (for LinearProgressIndicator), or overloading the constructors for ProgressIndicators (Circular & Linear) to include a Stroke param, would be great. We would love to use the provided indicators but still want the curved look, so this addition would be greatly appreciated.
ma...@google.com <ma...@google.com> #3
Along with these a great addition would be to open the stroke width for the background track as well. In the code the same width is passed to draw the LinearIndicator and the background for it. Strokewidth is obtained from the height. Only if these were separated, we could customize the progressIndicator to have the progress stroke greater than the background stroke width.
jo...@google.com <jo...@google.com>
jo...@google.com <jo...@google.com>
ap...@google.com <ap...@google.com> #4
After consideration, we will be adding a parameter to configure the stroke cap of the indicators. Further shape customization or separate stroke widths for track/background are outside the scope of what we want to support in the library.
Description
Jetpack Compose release version: 1.0.0-beta06
Android Studio Build: Android Studio Arctic Fox | 2020.3.1 Canary 15
Build #AI-203.7717.56.2031.7321754, built on April 29, 2021
Runtime version: 11.0.10+0-b96-7281165 x86_64
It seems that BottomSheetScaffold's content is overlapping topBar's elevation. Minimal code to reproduce: