Comments (23)
Animation? What kind of animation?
from numberprogressbar.
like when activity starts that progress bar goes from 0 to X %.
Currently i am doing it with:
Timer timer = new Timer();
timer.schedule(new TimerTask() {
@Override
public void run() {
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
if(progressBar.getProgress() < maxPercent) {
progressBar.incrementProgressBy(1);
}
}
});
}
}, 1000, 20);
One more thing, why is last release 1.2 from 2014, there are no attributes like
custom:progress_unreached_bar_height="4dp"
custom:progress_reached_bar_height="8dp"
custom:progress_text_size="16dp"
custom:progress="0"
in current version 1,2
from numberprogressbar.
Transition animation will be supported in next version. Currently not support.
from numberprogressbar.
Thanks for your advice.
from numberprogressbar.
Thanks! Nice Work.
Is there any reason that last release is from 2014. What is the latest version that should be used in gradle?
from numberprogressbar.
Ha, there happened a lot of things since 2014. Too busy to take care my open source projects. But now, I think I'm back. 🎉
from numberprogressbar.
There is a PR #35 which archived what you want, but I can't merge it, because It may get error or bad effect in some cases. It's not perfect enough.
from numberprogressbar.
BTW. You can always get the version info here : http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.daimajia.numberprogressbar%22
from numberprogressbar.
is there a way to tell gradle to use last commit and not release 1.2?
from numberprogressbar.
@ivanstojkovicapps Change 1.2 -> 1.1
from numberprogressbar.
Thanks, i tried this
compile 'com.daimajia.numberprogressbar:library:1.1'
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@icon value=(@mipmap/ic_launcher) from AndroidManifest.xml:9:9-43
is also present at [com.daimajia.numberprogressbar:library:1.1] AndroidManifest.xml:4:45-81 value=(@drawable/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:6:5-25:19 to override.
from numberprogressbar.
Oh, it's an old bug, better not use 1.1 anymore.
from numberprogressbar.
so you suggest: compile 'com.daimajia.numberprogressbar:library:1.2'
but there is a problem that the attributes are not working, when i use 1.2
from numberprogressbar.
@ivanstojkovicapps which attribute? unreachedHeight
?
from numberprogressbar.
custom:progress_unreached_bar_height="4dp"
custom:progress_reached_bar_height="8dp"
custom:progress_text_size="16dp"
custom:progress="0"
from numberprogressbar.
none of those is working and there are no methods to set it programatically
from numberprogressbar.
Make sure that you have added the highlight line in XML file. I just tested, it works well.
from numberprogressbar.
xmlns:custom="http://schemas.android.com/apk/res-auto"
from numberprogressbar.
thanks, that was set wrong! Great!
from numberprogressbar.
Version 1.3 has been released, please try the latest version of this lib. Lots of issues has been fixed.
from numberprogressbar.
thanks already got it!
from numberprogressbar.
This thread will be closed, the feature will be archived in next version, thanks for your feedback. Have a nice day.
from numberprogressbar.
@daimajia Hey did animation functionality get completed? If so, how does one use it?
from numberprogressbar.
Related Issues (20)
- 使用的时候能隐藏百分比吗? HOT 1
- 凭借这句话,我就要star HOT 1
- Android Studio 3.0 - InflateException HOT 2
- 数字进度条
- Set Typeface HOT 2
- Using this library in RecyclerView Adapter!
- how to change font of text?
- 为什么构造方法中要先调用setProgress后调用setMax呐?
- Target 27 HOT 2
- Logo Design
- 请教
- 字体大小可以当做宽度或者高度吗
- background of the text area
- Databinding incompatibility HOT 1
- 当进度走到80%,为什么会变成-%79, - %78 ....... HOT 1
- when i use it in Notification,it can't be inflated.
- Unable to use with Androidx
- 有没有办法设置圆角
- How to set corner radius to progress reached area?
- Goog
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from numberprogressbar.