-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stroke cap feature #59
Conversation
Generated by 🚫 Danger |
@@ -2,6 +2,7 @@ | |||
<resources> | |||
<declare-styleable name="DonutProgressView"> | |||
<attr name="donut_strokeWidth" format="dimension"/> | |||
<attr name="donut_strokeCap" format="string"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think enum would be more appropriate format here. With enum, you get a nice autocomplete for available options in layout editor. Take a look at #58, it's implemented there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that is a good idea. I will change it.
…oke-cap-attribute � Conflicts: � buildSrc/src/main/kotlin/Versions.kt � sample/src/main/kotlin/app/futured/donutsample/ui/playground/PlaygroundActivity.kt � sample/src/main/res/values/strings.xml
Add an option to change the stroke of the lines.
Resolves #54, #30