expandable-circle-view

A circular progress indicator that expands or shrinks the inner circle to the given progress.

Лицензия

Лицензия

Группа

Группа

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

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

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

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

0.2.3
Дата

Дата

Тип

Тип

aar
Описание

Описание

expandable-circle-view
A circular progress indicator that expands or shrinks the inner circle to the given progress.
Ссылка на сайт

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

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

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

https://github.com/nex3z/ExpandableCircleView

Скачать expandable-circle-view

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

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

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
androidx.appcompat » appcompat jar 1.2.0

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

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

ExpandableCircleView

API

A circular progress indicator that expands or shrinks the inner circle to the given progress.

expand

Gradle

dependencies {
    compile 'com.nex3z:expandable-circle-view:0.1.2'
}

Usage

<com.nex3z.expandablecircleview.ExpandableCircleView
    android:id="@+id/circle"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    app:innerColor="@color/colorPrimary"
    app:showProgressText="true"
    app:progressTextColor="@color/colorAccent"
    app:progressTextSize="32sp"/>

Use setProgress(int progress) or setProgress(int progress, boolean animate) to expand the inner circle according to the specified progress.

mCircle = (ExpandableCircleView) findViewById(R.id.circle);
mCircle.setProgress(50, true);

Customization

The ExpandableCircleView can be customized with the following attributes.

Attribute Format Description
app:innerColor color The color of inner circle.
app:outerColor color The color of outer circle.
app:max integer The upper limit of this progress bar's range.
app:showProgressText boolean Whether the progress text is shown in the center of the circle. Default is false.
app:progressTextSize dimension The size of progress text.
app:progressTextColor color The color of progress text.
app:progressTextSuffix string The suffix string to be appended to the progress text.
app:expandAnimationDuration integer The animation duration in millisecond for the inner circle to expand.

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

Версия
0.2.3
0.2.2
0.2.1