This is open source. If anyone wants to customise it. You’re welcome!!!!
<metadata>
<groupId>com.github.praveen2gemini</groupId>
<artifactId>CloudProgressBar</artifactId>
<version>0.0.2-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>20181123.184205</timestamp>
<buildNumber>1</buildNumber>
</snapshot>
<lastUpdated>20181123184205</lastUpdated>
</versioning>
</metadata>
implementation 'com.github.praveen2gemini:CloudProgressBar:0.0.2-SNAPSHOT@aar'
<com.dpdlad.customprogressbar.DownloadProgressBar
android:id="@+id/animated_cloud_progressbar2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/margin_xlarge"
cloud_progressbar:download_icon="@drawable/ic_cloud_download_black_24dp"
cloud_progressbar:max="100"
cloud_progressbar:show_indicator="true"
cloud_progressbar:show_percentage="true"
cloud_progressbar:primary_progress_color="@color/green_dark"
cloud_progressbar:progress_background_color="@color/colorPrimary"
cloud_progressbar:progress_text_color="@android:color/white"
cloud_progressbar:secondary_progress_color="@color/green_light" />
The following attributes are optional by deafult it is true. DO NOT set false untill it is required really!!!!
cloud_progressbar:show_indicator="true"
cloud_progressbar:show_percentage="true"