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
I'm extending the class so I don't have to set all the styles every time I use it, but setting stroke width from my sub class doesn't work. Here's my complete class:
the stroke remains 1dp thin.
Works correctly if set from xml: app:progress_stroke_width="5dp"
Other parameters are working correctly. It appears to me that the problem is due to initPaint() not being called after the new width is set.
Any way I can make it work?
The text was updated successfully, but these errors were encountered:
I'm extending the class so I don't have to set all the styles every time I use it, but setting stroke width from my sub class doesn't work. Here's my complete class:
the stroke remains 1dp thin.
Works correctly if set from xml:
app:progress_stroke_width="5dp"
Other parameters are working correctly. It appears to me that the problem is due to
initPaint()
not being called after the new width is set.Any way I can make it work?
The text was updated successfully, but these errors were encountered: