lopspower / circularfillableloaders Goto Github PK
View Code? Open in Web Editor NEWRealize a beautiful circular fillable loaders to be used for splashscreen ๐
License: Apache License 2.0
Realize a beautiful circular fillable loaders to be used for splashscreen ๐
License: Apache License 2.0
if i Set Fragment Return
java.lang.IllegalArgumentException: width and height must be > 0
Main Activity Return NullpointException All other cutomization code works setColor Getting error only
I have to download the class file and was able to set my minSDK to 14.
FATAL EXCEPTION: main
Process: com.arundev.smartplug2023, PID: 16841
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.arundev.smartplug2023/com.arundev.smartplug2023.Activity.WaterLevel_Activity}: java.lang.IllegalArgumentException: width and height must be > 0
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:877)
at android.graphics.Bitmap.createBitmap(Bitmap.java:856)
at android.graphics.Bitmap.createBitmap(Bitmap.java:823)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.updateWaveShader(CircularFillableLoaders.java:222)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.setColor(CircularFillableLoaders.java:357)
at com.arundev.smartplug2023.Activity.WaterLevel_Activity.onCreate(WaterLevel_Activity.java:34)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)ย
at android.app.ActivityThread.-wrap12(ActivityThread.java)ย
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)ย
at android.os.Handler.dispatchMessage(Handler.java:102)ย
at android.os.Looper.loop(Looper.java:154)ย
at android.app.ActivityThread.main(ActivityThread.java:6119)ย
at java.lang.reflect.Method.invoke(Native Method)ย
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)ย
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)ย
Sorry wrong project :) Pls delete it.
i get error when i using this useful library on my application
executing CustomActivityOnCrash's UncaughtExceptionHandler java.lang.OutOfMemoryError: Failed to allocate a 8271388 byte allocation with 6780384 free bytes and 6MB until OOM
FULL error stack
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:831)
at android.graphics.Bitmap.createBitmap(Bitmap.java:808)
at android.graphics.Bitmap.createBitmap(Bitmap.java:775)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.updateWaveShader(CircularFillableLoaders.java:210)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.updateShader(CircularFillableLoaders.java:201)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.loadBitmap(CircularFillableLoaders.java:169)
at com.mikhaellopez.circularfillableloaders.CircularFillableLoaders.onDraw(CircularFillableLoaders.java:112)
First of all thanks a lot for this awesome library.
How can I replace the image with fill percentage ?
Thanks
Actually i want to use setProgress for show battery status in circular but not work
I passed the reference of the view to AsyncTask and and doing progress update in the onProgressUpdate() method , but i got the following error ,
Animators may only be run on Looper threads at
how to update the progress of view from asynctask
I'm getting this error while previewing my layout in android studio when using your component. When I build the app and run it, the component doesn't show up and the app quits after 2/3 seconds.
Full android studio stackstrace.
Here is my xml definition:
<com.mikhaellopez.circularfillableloaders.CircularFillableLoaders
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/circularFillableLoaders"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_play"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
app:border="true"
app:border_width="12dp"
app:progress="80"
app:wave_amplitude="0.06"
app:wave_color="#3f51b5" />
Hi, Thanks to release this library, can i have rectangle view instead of circle?
Easy to integrate, Thanks a lot for this lib!
by now if you setprogress = 0 the wave covers up the whole view.
Would it be possible to add a method so that to revert the progress and setprogress = 0 wave start filling up the view ?
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.