很酷的Android下載進度條:DownloadProgressBar
一個帶有很酷動畫的Android進度條,設計源于https://dribbble.com/shots/2012292-Download-Animation
Attributes
Attribute | Type | Usage | </tr> </tbody>|||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app:circleRadius | dimension | The dimension of the circle radius | </tr>|||||||||||||||||||||||||
app:strokeWidth | dimension | The dimension of the circle stroke width | </tr>|||||||||||||||||||||||||
app:lineWidth | dimension | Color used for the progress completed | </tr>|||||||||||||||||||||||||
app:progressDuration | integer | Duration of progress. Default value is set to 1000 ms | </tr>|||||||||||||||||||||||||
app:resultDuration | integer | Duration of result, either success and error. Default set to 4000 ms | </tr>|||||||||||||||||||||||||
app:overshootValue | dimension | Value of overshoot interpolator (used for popping up the circle) | </tr>|||||||||||||||||||||||||
app:drawingColor | color | Color used for drawing inside drawables (white on gif) | </tr>|||||||||||||||||||||||||
app:progressColor | color | Color used for drawing the progress (white on gif) | </tr>|||||||||||||||||||||||||
app:circleBackgroundColor | color | Color used for drawing background circle (light blue on gif) | </tr>|||||||||||||||||||||||||
app:progressBackgroundColor | color | Color used for drawing progress background (light blue on gif) | </tr> </tbody> </table>