ProgressCircle

Progress Circle View for Android

Лицензия

Лицензия

Группа

Группа

com.tomergoldst.android
Идентификатор

Идентификатор

progress-circle
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

aar
Описание

Описание

ProgressCircle
Progress Circle View for Android
Ссылка на сайт

Ссылка на сайт

https://github.com/tomergoldst/progress_circle
Система контроля версий

Система контроля версий

https://github.com/tomergoldst/progress_circle

Скачать progress-circle

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.tomergoldst.android/progress-circle/ -->
<dependency>
    <groupId>com.tomergoldst.android</groupId>
    <artifactId>progress-circle</artifactId>
    <version>1.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.tomergoldst.android/progress-circle/
implementation 'com.tomergoldst.android:progress-circle:1.0.2'
// https://jarcasting.com/artifacts/com.tomergoldst.android/progress-circle/
implementation ("com.tomergoldst.android:progress-circle:1.0.2")
'com.tomergoldst.android:progress-circle:aar:1.0.2'
<dependency org="com.tomergoldst.android" name="progress-circle" rev="1.0.2">
  <artifact name="progress-circle" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.tomergoldst.android', module='progress-circle', version='1.0.2')
)
libraryDependencies += "com.tomergoldst.android" % "progress-circle" % "1.0.2"
[com.tomergoldst.android/progress-circle "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

progress circle

Progress Circle View for Andoid

Instructions

Add a dependency to your app build.gradle

dependencies {
    implementation 'com.tomergoldst.android:progress-circle:1.0.2'
}

Add 'ProgressCircle' view to your layout

<com.tomergoldst.progress_circle.ProgressCircle
        android:id="@+id/circle_progress"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:progressColor="?attr/colorPrimary"
        app:textColor="?attr/colorPrimary"
        app:outlineWidth="16dp"
        app:ProgressWidth="10dp"/>

Adjust attributes to fit your needs, below is the list of attributes available

<declare-styleable name="ProgressCircle">
        <attr name="textColor" />
        <attr name="progressColor" />
        <attr name="ProgressWidth" />
        <attr name="outlineColor" />
        <attr name="outlineWidth" />
        <attr name="maxProgressValue" />
        <attr name="maxAnimationDuration" />
        <attr name="minAnimationDuration" />
    </declare-styleable>

Set progress from code

mCircleProgress = (ProgressCircle) findViewById(R.id.circle_progress);
mCircleProgress.setProgress(90);

See the demo app for more information

License

Copyright 2016 Tomer Goldstein

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.

Версии библиотеки

Версия
1.0.2