ArcProgressbar project let create Arc progressbar in android in simplest way.

Overview

Arc Progressbar In Android

ArcProgressbar project let create Arc progressbar in android in simplest way.


Build Status Medium License License License AndroidWeekly


Arcprogressbar

USAGE

To make a Arc Progressbar add ArcProgressbar in your layout XML and add ArcProgressbar library in your project or you can also grab it through Gradle:

Gradle

Add it in your root build.gradle at the end of repositories:

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Add the dependency


dependencies {
    ...
    implementation 'com.github.Marvel999:Arc-Progressbar-lib:1.0.0'
}

XML

<!-- <a> Arc progressbar xml</a> -->

         <com.marvel999.acr.ArcProgress
             android:id="@+id/arc_img"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             app:ap_background_progressbar_width="20"
             app:ap_foreground_progressbar_width="20"
             app:ap_progress="50"
             app:ap_progress_background_color="#EDEDED"
             app:ap_progress_color="#71CC75"
              />

You may use the following properties in your XML to change your ArcProgressbar.

#####Properties:

/* Arc progressbar xml */

  • app:ap_background_progressbar_width (Integer) -> default 5
  • app:ap_foreground_progressbar_width (Integer) -> default 40
  • app:ap_progress (Integer) -> default 0
  • app:ap_progress_background_color (Color) -> default Color #F9F9FA
  • app:ap_progress_color (Color) -> default Color #71CC75
  • app:ap_progress_roundedCorner (Boolean) -> default flase
  • app:ap_progress_isClockwise (Boolean) -> default true
  • app:ap_progress_maxscale (Integer) -> default 100

Kotlin

val arc_img:ArcProgress=findViewById(R.id.arc_img)
        arc_img.setColor(R.color.white)
        arc_img.setProgressThickness(50f)
        arc_img.setProgressBackgroundColor(Color.CYAN)
        arc_img.setProgressColor(Color.YELLOW)
        arc_img.setProgress(130f)
        arc_img.setProgress(progress)
        arc_img.setProgressWithAnimation(progress)

How to contribute?

  1. Fork the repository
  2. Do the desired changes (add/delete/modify)
  3. Make a pull request

When to contribute?

  1. Fix open bugs.
  2. Add new issue.

LICENCE

Copyright 2021 Manish

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.

Thanks to Ankit

You might also like...
Android library to realize the various states and transitions in a ProgressBar.
Android library to realize the various states and transitions in a ProgressBar.

StateProgressBar StateProgressBar is an Android library to realize the various states and transitions in a ProgressBar. Quick Start Get a feel of how

Holo Circular ProgressBar
Holo Circular ProgressBar

HoloCircularProgressBar What is HoloCircularProgressBar HoloCircularProgressBar is a Custom View implementation for Android you might know from the An

MaterialLoadingProgressBar   provide a styled ProgressBar which looks  like SwipeRefreshLayout's loading indicator(support-v4  v21+)
MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+)

MaterialLoadingProgressBar MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4

Progressbar with whorl style
Progressbar with whorl style

WhorlView 一个加载View 预览 使用 step1 添加gradle配置 dependencies { compile 'com.tt:whorlviewlibrary:1.0.3' } step2 在xml中添加WhorlView com.tt.whorlviewli

Material Design ProgressBar with consistent appearance
Material Design ProgressBar with consistent appearance

MaterialProgressBar Material Design ProgressBar with consistent appearance on Android 4.0+. Why MaterialProgressBar? Consistent appearance on Android

Create & Show progress, data or error views, the easy way!
Create & Show progress, data or error views, the easy way!

State Views for Android (BETA version) Create & Show progress, data or error views, the easy way! StateViews is based on ViewSwitcher mechanism and al

Android fillable progress view working with SVG paths. This is a nice option too if you want to create an interesting branding logo for your app. Based on the iOS project: https://github.com/poolqf/FillableLoaders
Android fillable progress view working with SVG paths. This is a nice option too if you want to create an interesting branding logo for your app. Based on the iOS project: https://github.com/poolqf/FillableLoaders

Android FillableLoaders Android Open Source library providing an interesting fillable progress view working with SVG paths. This is a nice option too

DownloadProgressBar is an android library that delivers awesome custom progress bar. You can manipulate it's state in every way.
DownloadProgressBar is an android library that delivers awesome custom progress bar. You can manipulate it's state in every way.

Download Progress Bar Android progress bar with cool animation, inspired by : https://dribbble.com/shots/2012292-Download-Animation ###Attributes Attr

Android loading or progress dialog widget library, provide efficient way to implement iOS like loading dialog and progress wheel
Android loading or progress dialog widget library, provide efficient way to implement iOS like loading dialog and progress wheel

ACProgressLite English Version / 中文版本 An Android loading widget library. Lite and easy to use, strong customizability. Can be used to implement 'iOS'

Comments
  • how to set max progress value?????

    how to set max progress value?????

    I'm trying this library, and the weird thing is that I can't find a way to set the maximum value to the object. "ap_progress_maxscale" method doenst works.

    attach an example: max:100 progress:99

    I expect the bar to be almost full, but instead: immagine

    xml code

    progress_bar.arc_progress.ArcProgress android:id="@+id/progressoArco" android:layout_width="wrap_content" android:layout_height="wrap_content" app:ap_progress="99" app:ap_progress_maxscale="100" app:ap_progress_background_color="#EDEDED" app:ap_background_progressbar_width="25" app:ap_foreground_progressbar_width="25" app:ap_progress_color="#71CC75" app:ap_progress_roundedCorner="true" android:layout_marginBottom="@dimen/_10sdp"

    </progress_bar.arc_progress.ArcProgress>

    opened by PaolinoAngeletti 1
Releases(1.0.0)
Owner
Manish
Learning something new every day,I am program lover person |LinkedIn @ Manish Singh | Instagram @ manish.marvel999 | SIH 2019 Winner.
Manish
This is beautiful color arc progress bar.

ColorArcProgressBar 中文版 This is a customizable circular progressbar.It can achieve the effect of the QQ health's arc progress with XML. What's more, w

PASSION 928 Dec 6, 2022
Present your progress bars in arc mode with information and total control.

ArcProgressStackView Present your progress bars in arc mode with information and total control. You can check the sample app here. Warn This library i

Basil Miller 249 Sep 10, 2022
Present your progress bars in arc mode with information and total control.

ArcProgressStackView Present your progress bars in arc mode with information and total control. You can check the sample app here. Warn This library i

Devlight 1.3k Nov 29, 2022
Arc pointer - simple customized progress bar in the form of an arch

ArcPointer Simple customized progress bar in the form of an arch Demo Quick start Step 1 Gradle: compile 'io.github.dvegasa:arcpointer:1.0.2' Maven:

Ed Khalturin 79 Nov 22, 2022
Present your progress bars in arc mode with information and total control.

ArcProgressStackView Present your progress bars in arc mode with information and total control. You can check the sample app here. Warn This library i

Devlight 1.3k Nov 29, 2022
Now deprecated. A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar

Description Small library allowing you to make a smooth indeterminate progress bar. You can either user your progress bars and set this drawable or us

Antoine Merle 4.4k Dec 30, 2022
A beautiful, slim Android ProgressBar.

Android NumberProgressBar The NumberProgressBar is a bar, slim and sexy (every man wants! ). I decided to do this because I was really tired of androi

代码家 6k Jan 7, 2023
An android library to display a progressbar that goes around an image.

android-square-progressbar First things first This library is setup to work with the Android Studio and Gradle. If you're using the Eclipse environmen

Yannick Signer 1.3k Nov 15, 2022
Some beautiful android loading drawable, can be combined with any view as the LoadingView or the ProgressBar. Besides, some Drawable can customize the loading progress too.

LoadingDrawable: Android cool animation collection 前言 CircleRotate源码解析 Fish源码解析 LoadingDrawable is some android animations implement of drawable: a li

dinus_developer 4.1k Dec 27, 2022
Android ProgressBar that "bends" under its own weight. Inspired by http://drbl.in/nwih

RopeProgressBar Android ProgressBar that "bends" under its own weight. Attributes Attribute Type Default Usage app:ropeMax integer 0 The max value of

Christian De Angelis 206 Dec 18, 2022