You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thickness of the "completed" line (line leading to a completed step) and "not-completed" line (line leading to a not-completed step or the current step) is currently hardcoded in StepViewIndicator using setStrokeWidth.
Allowing the user to customize the stroke width of the completed and not-completed lines would be a nice enhancement.
What's required
Create new integer fields in StepViewIndicator: mCompletedLineThickness and mNotCompletedLineThickness, both of which should default to 2 (current thickness)
Create getters and setters for the new fields (Refer the getters and setters for circle radius and line length)
Expose the getters and setters on StepViewIndicator via StepView, which should simply call the methods on StepViewIndicator (Refer to the getters and setters for circle radius and line length in StepView)
Update the code copy-pasted above to use the new mCompletedLineThickness and mNotCompletedLineThickness
The thickness of the "completed" line (line leading to a completed step) and "not-completed" line (line leading to a not-completed step or the current step) is currently hardcoded in StepViewIndicator using
setStrokeWidth
.Allowing the user to customize the stroke width of the completed and not-completed lines would be a nice enhancement.
What's required
mCompletedLineThickness
andmNotCompletedLineThickness
, both of which should default to 2 (current thickness)mCompletedLineThickness
andmNotCompletedLineThickness
Please assign yourself and/or leave a comment if you decide to tackle this issue.
The text was updated successfully, but these errors were encountered: