Home

Awesome

ArcProgressStackView

Present your progress bars in arc mode with information and total control.

Android Arsenal       Android       Download       License       Codacy

<p align="center"> <img src="https://drive.google.com/uc?export=download&id=0BxPO_UeS7wScTjlVNklhUHZibVE"/> </p>

You can check the sample app here.

Warn

This library is not more supported. 
If you want to add new feature or fix a bug, grab source code and do it. 
If you think your fix or feature would be useful to other developers, 
I can add link of your repository to this README file. 
Thank you for using our libraries.

Download

You can download a .aar from GitHub's releases page.

Or use Gradle:

implementation 'devlight.io:arcprogressstackview:1.0.4'

Or Maven:

<dependency>
  <groupId>devlight.io</groupId>
  <artifactId>arcprogressstackview</artifactId>
  <version>1.0.4</version>
  <type>pom</type>
</dependency>

Or Ivy:

<dependency org='devlight.io' name='arcprogressstackview' rev='1.0.4'>
  <artifact name='$AID' ext='pom'></artifact>
</dependency>

Android SDK Version

ArcProgressStackView requires a minimum SDK version of 8, but if you want animation and shadow support it requires a minimum SDK version of 11.

Sample

<b>Parameters</b>

For APSV you can set such parameters as:

<b>Tips</b>

All angle variables can only be positive and be in range from 0 to 360 degrees.
The size of View automatically set up in square mode.

<b>Init</b>

Check out in code init:

final ArrayList<ArcProgressStackView.Model> models = new ArrayList<>();
models.add(new ArcProgressStackView.Model("Circle", 25, bgColors[0], mStartColors[0]));
models.add(new ArcProgressStackView.Model("Progress", 50, bgColors[1], mStartColors[1]));
models.add(new ArcProgressStackView.Model("Stack", 75, bgColors[2], mStartColors[2]));
models.add(new ArcProgressStackView.Model("View", 100, bgColors[3], mStartColors[3]));

final ArcProgressStackView arcProgressStackView = (ArcProgressStackView) findViewById(R.id.apsv);
arcProgressStackView.setModels(models);

Other methods check out in sample.

And XML init:

<devlight.io.library.ArcProgressStackView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:apsv_rounded="true"
    app:apsv_shadowed="true"
    app:apsv_animated="true"
    app:apsv_dragged="true"
    app:apsv_leveled="true"
    app:apsv_typeface="fonts/agency.ttf"
    app:apsv_text_color="#fff"
    app:apsv_shadow_distance="5dp"
    app:apsv_shadow_angle="90"
    app:apsv_shadow_radius="10dp"
    app:apsv_shadow_color="#000"
    app:apsv_animation_duration="1000"
    app:apsv_interpolator="@android:anim/bounce_interpolator"
    app:apsv_draw_width="75%"
    app:apsv_model_offset="5dp"
    app:apsv_model_bg_enabled="true"
    app:apsv_start_angle="270"
    app:apsv_sweep_angle="360"
    app:apsv_indicator_orientation="vertical"
    app:apsv_preview_colors="@array/default_preview"
    app:apsv_preview_bg="#ccc"/>

Getting Help

To report a specific problem or feature request, open a new issue on Github.

Credits

Ron EvgeniyVirgil PanaGleb Kuznetsov

Author

Created by Basil Miller - @gigamole