circular-progress-button icon indicating copy to clipboard operation
circular-progress-button copied to clipboard

Library has a configurable stroke witdth for the idle and the progress state

Open diego-gomez-olvera opened this issue 10 years ago • 4 comments

It is convenient to be able to tune the stroke width when the button is shown as idle and when a progress indicator is shown.

diego-gomez-olvera avatar Feb 26 '15 15:02 diego-gomez-olvera

The library supports right now custom properties, but they cannot be defined in a theme following this pattern (http://blog.stylingandroid.com/custom-controls-part-3/) due that it ignores the constructor parameter 'int defStyleAttr'. The commit 7a0725ebabcd4e7d93b3f0df15aa104bf4338064 fixes it.

diego-gomez-olvera avatar Feb 26 '15 18:02 diego-gomez-olvera

It is normally known if the progress view is going to be determinate or not, so it is handy to have an XML attribute 'cpb_progressIndeterminate' to define it.

diego-gomez-olvera avatar Feb 26 '15 18:02 diego-gomez-olvera

It is convenient to support the android attribute text as default for 'cpb_textIdle', as well as support CharSequence given the fact that TextView class hierarchy support it.

diego-gomez-olvera avatar Feb 27 '15 09:02 diego-gomez-olvera

thanks

hojatdelfan avatar Sep 20 '16 14:09 hojatdelfan