praveen2gemini / CloudDowloadProgressBar

CloudDowloadProgressBar library is used to understand the drawing on canvas using paints. Also this custom progress indicator can be used to show download process for the item, which are downloading. you can also use this component to show the status in percentage format. If you don’t want to show progress indicator you can disable it and it will show percentage text only. Vice versa also possible in this component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is open source. If anyone wants to customise it. You’re welcome!!!!

maven metadata.xml

<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>

Add following line to app/build.gradle

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"

Sample Demo:

Overview During Download ListView List Detail View Different Size Different Size

About

CloudDowloadProgressBar library is used to understand the drawing on canvas using paints. Also this custom progress indicator can be used to show download process for the item, which are downloading. you can also use this component to show the status in percentage format. If you don’t want to show progress indicator you can disable it and it will show percentage text only. Vice versa also possible in this component.

License:Apache License 2.0


Languages

Language:Java 100.0%