Git Product home page Git Product logo

praveen2gemini / clouddowloadprogressbar Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 926 KB

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

Java 100.00%
android android-library androidview androidcustomview android-progressbar custom-progressbar android-loading-indicator android-development android-widget android-widgets

clouddowloadprogressbar's Introduction

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

clouddowloadprogressbar's People

Contributors

praveen2gemini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rameshvoltella

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.