- Fixed issue #37 Broken normal text behaviour
- Added focused and selected states
- Added library description file for About AboutLibraries
- Fixed issue: buggy behavior when an endless button gets re-sized #14
- Fixed issue: Button padding are ignored #11
- Added prefix 'pb_' for all custom attributes to avoid conflict #12
- Added api 10 compatibility
- Fixed bug in ProgressGenerator class
Bug fixes
- Fixed repository name type from
android-process-buton
toandroid-process-button
Attributes
Renamed attributes:
progressText
->textProgress
completeText
->textComplete
Added attribute to control button corner roundness:
cornerRadius
ProcessButton
Now button state depends on progress:
- normal state [0]
- progress state [1-99]
- success state [100]
- error state [-1] *new
Added abstract drawProgress
method to simplify creation different progress buttons.
General code clean-up.
Thanks to @avrahamshuk for contribution.
- Fixed bug when all buttons where sharing the same drawable state
- Uploaded proejct to Maven Central