Git Product home page Git Product logo

coolprogressviews's Introduction

CoolProgressViews

Android library with collection of cool progress views.

DEMO LINK

Android Arsenal

Also Mention in:

DEMO



DOWNLOAD

Add this to your root build.gradle file

allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }

Add this to your app module's build.gradle file

dependencies {
            compile 'com.github.amanjeetsingh150:CoolProgressViews:1.0'
    }



According to above DEMO:-

Row 1

  • CircleWithArcProgress
  • SimpleArcProgress

Row 2

  • ColorfulProgress
  • StaticCircleProgress

Row 3

  • DoubleArcProgress


#USAGE

In your Layout XML add this (all the app:.... attributes are optional and have default values

For CircleWithArcProgress

    <com.developers.coolprogressviews.CircleWithArcProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:radius1="30dp"
        app:circleColor="@android:color/holo_red_dark"
        app:arcColor="@android:color/holo_red_dark"
        />
Property Description Format Default
radius1 Length of the radius of the progress dimension 50dp
circleColor Color of the circle in which arc is moving. color #b0dbdb
arcColor Color of the moving arc. color #097669


For SimpleArcProgress

    <com.developers.coolprogressviews.SimpleArcProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:arcRadius="30dp"
        app:colorofArc="@android:color/holo_red_dark"
        />
Property Description Format Default
arcRadius Length of the radius of the arc in progress dimension 50dp
colorofArc Color of the arc in progress. color #009688


For ColorfulProgress

    <com.developers.coolprogressviews.ColorfulProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:circleColor1="@android:color/holo_red_dark"
        app:circleColor2="@android:color/holo_red_dark"
        app:circleColor3="@android:color/holo_red_dark"
        app:circleColor4="@android:color/holo_red_dark"
        />
Property Description Format Default
circleColor1 Color of circle 1 in progress. color #84c6b5
circleColor2 Color of circle 2 in progress. color #efbd63
circleColor3 Color of circle 3 in progress. color #9cd6e7
circleColor4 Color of circle 4 in progress. color #ef5a84


For StaticCircleProgress

    <com.developers.coolprogressviews.StaticCircleProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:innerCircleRadius="30dp"
        app:innerCircleColor="@android:color/holo_red_dark"
        app:movingArcRadius="50dp"
        app:movinArcColor="@android:color/holo_red_dark"
        />
Property Description Format Default
innerCircleRadius Radius of inner circle in progress. dimension 5dp
innerCircleColor Color of inner circle in progress. color #009688
movingArcRadius Radius of arc in progress. dimension 50dp
movinArcColor Color of moving arc in progress. color #009688


For DoubleArcProgress

    <com.developers.coolprogressviews.DoubleArcProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:insideArcRadius="50dp"
        app:outsideArcRadius="100dp"
        app:insideArcColor="@android:color/holo_red_dark"
        app:outsideArcColor="@android:color/holo_red_dark"
        />
Property Description Format Default
insideArcRadius Radius of inner arc in progress. dimension 50dp
innerArcColor Color of inner circle in progress. color #99009688
outsideArcRadius Radius of outer arc in progress. dimension 100dp
outsideArcColor Color of outside arc in progress. color #009688



DEVELOPERS
Amanjeet Singh

LICENSE

Copyright 2017 Amanjeet Singh

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

coolprogressviews's People

Contributors

amanjeetsingh150 avatar damanpreetsb avatar

Watchers

James Cloos avatar

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.