moosphan / material-progressview Goto Github PK
View Code? Open in Web Editor NEW🔥A beautiful, gradual and simple used progress view for android.
License: Apache License 2.0
🔥A beautiful, gradual and simple used progress view for android.
License: Apache License 2.0
Hello,
A crash occurs when setting the color without calling setTrackWidth beforehand.
E/AndroidRuntime: FATAL EXCEPTION: main Process: ca.etsmtl.etsmobile, PID: 30545 java.lang.NullPointerException: Attempt to read from field 'float android.graphics.RectF.left' on a null object reference at com.moos.library.CircleProgressView.setStartColor(CircleProgressView.java:456) at ca.etsmtl.etsmobile.presentation.gradesdetails.EvaluationHeaderItem$bind$$inlined$with$lambda$1.onCircleProgressUpdate(EvaluationHeaderItem.kt:89) at com.moos.library.CircleProgressView$2.onAnimationUpdate(CircleProgressView.java:615) at android.animation.ValueAnimator.animateValue(ValueAnimator.java:1522) at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:987) at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:654) at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:617) at android.animation.ValueAnimator.start(ValueAnimator.java:1046) at android.animation.ValueAnimator.start(ValueAnimator.java:1065) at android.animation.ObjectAnimator.start(ObjectAnimator.java:852) at com.moos.library.CircleProgressView.startProgressAnimation(CircleProgressView.java:645)
When Ever I set Track width with layout height it doesn't match with that height. Can u help me out.
Hi ! i would like to know if its possible to go beyond 100%
I'm working with some "goal x result" app and it may be possible to go beyond 100% like:
Goal - 1500 steps
Steps - 1900 steps
% - 126%
trackColor颜色设置(透明度)如:#4DCBD6DB,影响正常进度条颜色显示
@Moosphan 我已经将HorizontalProgressView的progressTextVisibility设置为false,但是进度文本的空间没有被删除。
@Moosphan 请求将minSdkVersion从19降低到17,以覆盖更多Android SDK版本,我尝试降低后没有出现错误,可以正常运行。
If inscribe
@Moosphan track设置半透明颜色,会影响start和end颜色.
can you show me the code? That will be useful for me to solve it.
还是用之前评论里的方法解决的
circleProgressView.post(new Runnable() {
@OverRide
public void run() {
circleProgressView.setGraduatedEnabled(true);
}
});
需求:想要使用作者中间镂空的圆环样式;
下载demo,看到作者是在Swicth中通过
//------代码-------
case R.id.csc_isGraduated:
if (isChecked){
//在这里改变样式
circleProgressView.setGraduatedEnabled(true);
}else {
circleProgressView.setGraduatedEnabled(false);
}
break;
但是我把 circleProgressView.setGraduatedEnabled(true); 添加到初始化的时候,样式无法改变
progress not working any way in recyclerview adapter ? what must i do !!
help me plz
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.