viksaaskool / awesomesplash Goto Github PK
View Code? Open in Web Editor NEWAwesome-looking customizable splash screen
License: MIT License
Awesome-looking customizable splash screen
License: MIT License
3 Issues found while using AwesomeSplash Library,
1) The image is not visible on the splash
2) "\n" is not showing any error, but is also not working, hence multi-line text cannot be created as it ignores the text after it.
3) On pressing back button, the splash activity is visible as it finishes after few seconds.
it goes perfectly right but when it finishes the animation it does't read the codes into on finished method and crashes the app
When the device changes orientation, the animation is restarted.
I've tried to get some values to help me with continuing the animation but there is nothing I can receive the know the current state of the animation, or start the animation in a certain state.
I cant start activity error shows Cannot start this animator on a detached view!
When I use Proguard the Splash showed but It bug before showing the next activity.
I get this message :
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.Error: Can not init easingMethod instance
at com.b.b.c.a(Unknown Source)
at com.b.b.b.a(Unknown Source)
at com.b.b.b.a(Unknown Source)
at com.b.a.a.i.a.b.a(Unknown Source)
at com.b.a.a.a.b(Unknown Source)
at com.b.a.a.c.a(Unknown Source)
at com.b.a.a.c.a(Unknown Source)
at com.b.a.a.c$a.a(Unknown Source)
at com.e.a.a.a.a.n(Unknown Source)
at com.e.a.a.a.a$1.a(Unknown Source)
at com.c.a.a.a(Unknown Source)
at com.c.a.a.onDraw(Unknown Source)
at android.view.View.draw(View.java:13806)
at android.view.View.buildDrawingCache(View.java:13067)
at android.view.View.getDisplayList(View.java:12736)
at android.view.View.getDisplayList(View.java:12801)
at android.view.View.draw(View.java:13530)
at android.view.ViewGroup.drawChild(ViewGroup.java:3228)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3093)
at android.view.View.getDisplayList(View.java:12755)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3210)
at android.view.View.getDisplayList(View.java:12693)
at android.view.View.getDisplayList(View.java:12801)
at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1144)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2278)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2150)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1961)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1115)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4538)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
Could you help me ?
thanks in advance
I have implemented the library but i am getting errors with DROID_LOGO. It is showing error during compilation
I would be nice if there is an option for disabling pathfill and showing the title
Library doesn't import Constants class. Had to create my own 'DROID_LOGO' string.
Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.github.ViksaaSkool:AwesomeSplash:v1.0.0.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/ViksaaSkool/AwesomeSplash/v1.0.0/AwesomeSplash-v1.0.0.pom
- https://repo.maven.apache.org/maven2/com/github/ViksaaSkool/AwesomeSplash/v1.0.0/AwesomeSplash-v1.0.0.pom
- https://jcenter.bintray.com/com/github/ViksaaSkool/AwesomeSplash/v1.0.0/AwesomeSplash-v1.0.0.pom
Required by:
project :app
Unable to deploy giving this error..
Error:Execution failed for task ':app:dexDebug'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_20\bin\java.exe'' finished with non-zero exit value 2
compile is deprecated; replace with implementation
Change
compile 'com.github.ViksaaSkool:AwesomeSplash:v1.0.0'
To
implementation 'com.github.ViksaaSkool:AwesomeSplash:v1.0.0'
I can't change the title font. The app always crashes.
maybe we can add an ImageView in Logo Splash ( setLogoSplash()
) to this library ?
thanks before. :)
Any solution to this ?? thanks . link to FabTransitionActivity library
FATAL EXCEPTION: main
Process: main.natty.android.welltech.welltechcoolingsystems, PID: 5669
java.lang.NoSuchMethodError: No virtual method setInterpolator(Landroid/view/animation/Interpolator;)V in class Lio/codetail/animation/SupportAnimator; or its super classes (declaration of 'io.codetail.animation.SupportAnimator' appears in /data/app/main.natty.android.welltech.welltechcoolingsystems-2/split_lib_dependencies_apk.apk:classes17.dex)
at com.viksaa.sssplash.lib.activity.AwesomeSplash.startCircularReveal(AwesomeSplash.java:135)
at com.viksaa.sssplash.lib.activity.AwesomeSplash.onWindowFocusChanged(AwesomeSplash.java:89)
at android.support.v7.view.WindowCallbackWrapper.onWindowFocusChanged(WindowCallbackWrapper.java:128)
at com.android.internal.policy.DecorView.onWindowFocusChanged(DecorView.java:1451)
at android.view.View.dispatchWindowFocusChanged(View.java:10257)
at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1193)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3602)
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)
The loaded path fills with a default blue colour, regardless of what colour I put.
Error:(29, 13) Failed to resolve: com.github.ViksaaSkool:AwesomeSplash:v1.0.0
Show in File
Show in Project Structure dialog
i use ur library. but if I want to use icon & svg image both. it,s only show svg image & icon size not customizable. Only few anim ar work in icon. and I don't have any access to control svg image like if I want to hidden svg image after anim then show a icon then text it should be more better.
Thanks :)
I want to "import com.viksaa.sssplash.util.Constants;" but there is no util package, the other imports are found. is there a problem with the version of the app, because I used two version and none of them is working. I am using Android Studio 3.
The very beginning the screen opens and displays colour based screen background
instead, I wanna make image how do I display?
compile 'com.github.ViksaaSkool:AwesomeSplash:v1.0.0'
When i run my project in my phone
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
i delete the compile sentence
my project becomes normal
android studio don't know SyncStateContract.Constants.DROID_LOGO. what should I do ?
Hello Mr.Viksaa Skool
I am testing in huawei y300 device and not circular effect.
can you help me.
Thank you.
how to make the logo size bigger?
Hello,
We are currently using your library in one of our application. Actually we need a favour from your side. According to the Google Play Policy, all apps have to provide support for at least API level 26 which is not satisfied in your case. We are targeting API level 28. So can you please provide us support for API level 28 in your current repository?
In new Android versions there is no "All projects" section in the "build.gradle" file, so all you have to do is to open "settings.gradle" file inside the gradle scripts, and add your maven { url "https://jitpack.io" }
like this
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
maven { url "https://jitpack.io" }
}
}
I tried using path animation using validated SVG Path
"M 25.892,0c-7.646,0-13.845,6.198-13.845,13.845c0,1.494,0.244,2.929,0.68,4.274c0.981,3.461,12.292,33.668,12.292,33.668 s12.014-27.703,13.83-33.096c0.565-1.511,0.891-3.14,0.891-4.848C39.738,6.199,33.539,0,25.892,0z s12.014-27.703,13.83-33.096c0.565-1.511,0.891-3.14,0.891-4.848C39.738,6.199,33.539,0,25.892,0z M 25.892,24.761 c-6,0-10.865-4.867-10.865-10.865c0-6.003,4.865-10.868,10.865-10.868c6.003,0,10.866,4.865,10.866,10.868 C36.758,19.894,31.895,24.761,25.892,24.761z"
but it is not drawing
could you make function to set margin between logo and text....thanks
I get this error immediately after the circular reveal completes in the emulator.
FATAL EXCEPTION: main Process: com.example.erfan.splash, PID: 7531 java.lang.NoSuchMethodError: No virtual method withListener(Lcom/nineoldandroids/animation/Animator$AnimatorListener;)Lcom/daimajia/androidanimations/library/YoYo$AnimationComposer; in class Lcom/daimajia/androidanimations/library/YoYo$AnimationComposer; or its super classes (declaration of 'com.daimajia.androidanimations.library.YoYo$AnimationComposer' appears in /data/app/com.example.erfan.splash-1/split_lib_dependencies_apk.apk:classes3.dex) at com.viksaa.sssplash.lib.activity.AwesomeSplash.startLogoAnimation(AwesomeSplash.java:169) at com.viksaa.sssplash.lib.activity.AwesomeSplash$2.onAnimationEnd(AwesomeSplash.java:156) at io.codetail.animation.SupportAnimatorLollipop$1.onAnimationEnd(SupportAnimatorLollipop.java:75) at android.view.RenderNodeAnimator.onFinished(RenderNodeAnimator.java:381) at android.animation.RevealAnimator.onFinished(RevealAnimator.java:43) at android.view.RenderNodeAnimator.callOnFinished(RenderNodeAnimator.java:488) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:323) at android.os.Looper.loop(Looper.java:136) 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)
So as the error suggests, the moment the logo is about to be shown, it crashes out and gives me this error. My friend tested it and it worked fine for him, but when he tested it on my laptop with teamviewer, he had no idea what the problem is.
The error is definitely from inside the AwesomeSplash.java and I would appreciate it if you could lend me hand here.
configSplash.setOriginalHeight(400); //in relation to your svg (path) resource
configSplash.setOriginalWidth(400); //in relation to your svg (path) resource
these seem to work only with droid
i need to set the image size of my logo
configSplash.setTitleSplash("My First Title text");
configSplash.setTitleSplash("Second title text.");
How can you start the animation again without having to restart the activity?
im testing on 4.4.4 real device Reveal Effect not circular animation in box
Why does this keep showing up red and I can't import your constants file?
hi, I just have this issue that title animation does not disappear even though I set configSplash.setAnimTitleDuration(0); like you've suggested.
the slash title is still there but with no animation...please help
How to call this class from outside activity,what to pass in initSplash parameter,it require type config?
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.