๐ฑ I am an Android and Flutter enthusiast, living currently in Germany.
๐ฑ In addition to coding, I have a passion for โ coffee and a love for ๐โโ๏ธ running.
Small sample app with examples of use ProgressViews library with custom Progress bars in different shapes.
i added
repositories {
maven {
url "https://jitpack.io"
}
}
then
dependencies {
compile 'com.github.natasam:DemoProgressViewsLibApp:fa2f8f01e0'
}
12:48:26 PM Gradle sync started
12:48:32 PM Gradle sync completed
12:48:32 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
12:48:35 PM Gradle build finished with 1 error(s) and 4 warning(s) in 3s 379ms
1:08:11 PM Gradle sync started
1:08:21 PM Gradle sync completed
1:08:23 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
1:08:30 PM Gradle build finished with 1 error(s) and 4 warning(s) in 8s 11ms
1:09:35 PM Gradle sync started
1:09:41 PM Gradle sync completed
1:09:41 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources]
1:09:46 PM Gradle build finished with 1 error(s) and 4 warning(s) in 5s 668ms
How to add this library to the project?
How to do square shape progress bar with percentage loading.
Hi
after use this library error in fragment
java.lang.ClassCastException: com.natasa.progressviews.CircleProgressBar cannot be cast to android.view.ViewGroup
at yadbegir.jfa.mansoor.com.yadbegirApp.fragments.StoreFragment.onCreateView(StoreFragment.java:39)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2074)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
can you add the capability for both bar width and progress width to support match_parent and wrap_content
Hi,
I wanted to add text in centre of arc just like you did in a circle view. Is there any function, through which I can add it? Are you going to release another version with this change please?
I have used CircleProgressBar in fragment ๐
in xml as below:
<com.encrest.escooter.customui.circularProgressBar.CircleProgressBar
android:id="@+id/circleProgressBar"
android:layout_width="@dimen/_150sdp"
android:layout_height="@dimen/_150sdp"
android:layout_gravity="center"
android:layout_marginTop="@dimen/_25sdp"
app:bar_color="#b5b6b9"
app:bar_width="12dp"
app:progress="75"
app:progress_color="#d3f115"
app:progress_width="10dp"
app:text_color="@color/colorWhite" />
In fragments's onCreate View:
circleProgressBar = view.findViewById(R.id.circleProgressBar);
circleProgressBar.setWidthProgressBackground(25);
circleProgressBar.setWidthProgressBarLine(25);
circleProgressBar.setTextSize(30);
// circleProgressBar.setBackgroundColor(Color.LTGRAY);
circleProgressBar.setStartPositionInDegrees(ProgressStartPoint.DEFAULT);
circleProgressBar.setOnProgressViewListener(new OnProgressViewListener() {
@OverRide
public void onFinish() {
Log.e("done");
Toast.makeText(getContext(), "Done", Toast.LENGTH_SHORT).show();
circleProgressBar.setText("done", 50, Color.WHITE);
}
@Override
public void onProgressUpdate(float progress) {
Log.e("data");
}
});
But not getting anything in Log.
Please help me if I am missing something or doing wrong
Am not finding any solution for listening the CircularsegmentBar, (setOnSeekListener)
Does not work!
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.