CoolProgressViews

Additional

Language
Java
Version
N/A
Created
Mar 4, 2017
Updated
Apr 6, 2017 (Retired)
Owner
Amanjeet Singh (amanjeetsingh150)
Contributors
Amanjeet Singh (amanjeetsingh150)
Damanpreet Singh (damanpreetsb)
2
Activity
Badge
Generate
Download
Source code

Advertisement

CoolProgressViews

Android library with collection of cool progress views.

DEMO LINK



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.