Giter Club home page Giter Club logo

android-holocircularprogressbar's People

Contributors

andreavico avatar bai-jie avatar marsvard avatar passsy avatar weklund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-holocircularprogressbar's Issues

Set progress without an animation

Hi,

Is there any way to set the progress of the wheel without an animation?
I'm trying to use it as an indicator to display a percentage remaining.
I've tried this:

progressBar.setProgress(progressPercentage);
progressBar.setMarkerProgress(progressPercentage);

but it does literally nothing. Am I missing something here?

Thanks

Progress bar plays reverse animation once on complete cycle

As the progress bar does a complete cycle, it plays a reverse animation going from the last beat of the finished cycle to the first beat of the new cycle. I don't seem to be calling the reverse function anywhere. Any obvious ideas why this may be?

change color of bar in progress and setting different durations

Hi There,

I am looking for a similar solution in my app but i need to know if a few things are possible.

  1. Is it possible to change the color of the progress bar dynamically while in progress?
  2. Can i set the animation completion duration? e.g. draw a full circle in 60 seconds and stop

Animator Repeat Issue

Hi, when I set the animator into repeat mode, I figure that there is a lag between each. The problem is the draw starts from about 300 not 270. I read the source code but I cannot find the solution.

Feature Request: Showing text inside circle

It would be great to be able to show some text inside the circle (completed %, just a "loading" message, etc...).

I've done it putting a FrameLayout with a TextView above the HoloCircularProgressBar and it looks nice (see screenshots*) and works smoothly, but would be greater to have it natively on the widget itself :)

*Screenshots:
Screenshot 1
Screenshot 2

Change stroke width from code,

Hi,
I'm adding this view to my container layout from code. is it possible to set the stroke width not from xml but from code? , by the way it is a very good stuff you made.
thanks for your answer,
Peter

Duration

Hi!
I try to set duration in 60000 milliseconds, but don't work! you can help me ?

Marker color doesn't change with background color

When background color is changed via setProgressBackgroundColor, the marker color doesn't change, while when the background color is set via XML the marker one changes accordingly.

To fix this, I simply added in function setProgressBackgroundColor

updateMarkerColor();

(Sorry, I'm new to Git and Github, I've no idea how to setup a branch and send a merge request)

Marker shown when onRestoreInstanceState is issued

When markerEnabled is set to false and onRestoreInstanceState is issued (e.g. orientation change), the marker is drawn.

The problem comes from setMarkerProgress, were you fix mIsMarkerEnabled to true.

When put inside a ScrollView, it disappears

I've put holoCircularProgressBar inside a ScrollView and it disappeared. After investigating the problem, it resulted it received height=0. And a brief Internet research shows it's caused by faulty managing of measures inside onMeasure.

Drag & Drop

Hi, it's possible to drag the progress bar on touch event of marker?
Thanks!

Setting a Duration

Although some people have asked this question all have eventually figured out how to set a duration (ex. 20000 milliseconds) before a published answer could be posted. How do I animate the holocircularprogressbar much like the countdown timer so that an input would show a smooth animation that lasts the length of the input?

Custom thumbs

something like a circle or/and a custom drawable. any ideas or wishes?

I'm getting an error when I run the sample project.

When I run the sample project, I'm getting a Nullpointerexception for this function. progressBarAnimator.setupEndValues();

03-28 18:04:21.718: E/AndroidRuntime(32572): Caused by: java.lang.NullPointerException
03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.PropertyValuesHolder.setupSetterAndGetter(PropertyValuesHolder.java:513)
03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.ObjectAnimator.initAnimation(ObjectAnimator.java:392)
03-28 18:04:21.718: E/AndroidRuntime(32572): at android.animation.ObjectAnimator.setupEndValues(ObjectAnimator.java:452)
03-28 18:04:21.718: E/AndroidRuntime(32572): at de.passsy.circularprogressbarsample.CircularProgressBarSample.animate(CircularProgressBarSample.java:76)
03-28 18:04:21.718: E/AndroidRuntime(32572): at de.passsy.circularprogressbarsample.CircularProgressBarSample.onCreate(CircularProgressBarSample.java:60)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.