IllegalArgumentException when instantiating CircularProgressBar programmatically
Provides views, which are suggested by the Material Design guidelines
Brought to you by:
mrapp
When instantiating a CircularProgressbar programmatically by using the constructor, which only expects a Context as a parameter, an IllegalArgumentException with the message "The thickness must be at least 1" is thrown. The reason is, that the classes' thickness attribute remains uninitialized (0) when not passing an AttributeSet via a constructor.
Fixed in version 1.0.2.