Skip to content

xiaoguiYY/ProProgressViews

 
 

Repository files navigation

ProProgressViews

Android library with collection of amazing progress views.

#DEMO

#Mentions

#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.DamanSingh4321:ProProgressViews:v1.0'
    }



According to above DEMO:-

Row 1

  • DoubleArcProgress
  • DottedArcProgress

Row 2

  • CircleLineProgress
  • CicleArcProgress


#USAGE

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

For DoubleArcProgress

    <com.singh.daman.proprogressviews.DoubleArcProgress
        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 Radius of the arcs dimension 50dp
colorofArc Color of the arcs. color #b0dbdb


For DottedArcProgress

    <com.singh.daman.proprogressviews.DottedArcProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:dots_radius="30dp"
        app:dots_color="@android:color/holo_red_dark"
        />
Property Description Format Default
dots_radius Radius of the dotted arc dimension 50dp
dots_color Color of the dotted arc. color #009688


For CircleLineProgress

    <com.singh.daman.proprogressviews.CircleLineProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
         app:circle_radius="30dp"
        app:circle_color="@android:color/holo_red_dark"
         app:line_radius="30dp"      
        app:line_color="@android:color/holo_red_dark"
        />
Property Description Format Default
circle_radius Radius of circle. dimension 50dp
circle_color Color of circle. color #efbd63
line_radius Radius of line. dimension 50dp
line_color Color of line. color #ef5a84


For CircleArcProgress

    <com.singh.daman.proprogressviews.CircleArcProgress
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:circle_size="30dp"
        app:color_circle="@android:color/holo_red_dark"
        app:arc_radius="50dp"
        app:arc_color="@android:color/holo_red_dark"
        />
Property Description Format Default
circle_size Radius of circle. dimension 5dp
color_circle Color of circle. color #009688
arc_radius Radius of arc. dimension 50dp
arc_color Color of arc. color #009688



#DEVELOPERS Damanpreet Singh

#LICENSE

Copyright 2017 Damanpreet 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.

About

Progress Views Library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%