pantrif / easysplashscreen Goto Github PK
View Code? Open in Web Editor NEWEasily create android splash screen
Easily create android splash screen
要是能弄成预加载的就好,就比如说我现在设置成4秒跳转,在这4秒内其时已经跳转到要加载的页面去加载数据了,而不是过了4秒再跳转过去加载数据呢。
https://github.com/afollestad/material-dialogs
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.setBackgroundResource(int)' on a null object reference
at gr.net.maroulis.library.EasySplashScreen.withBackgroundResource(EasySplashScreen.java:75)
at info.dajinrong.virtual.ui.LogoActivity.onCreate(LogoActivity.java:24)
at android.app.Activity.performCreate(Activity.java:6910)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:831)
When trying to set the background color of the splash screen using withBackgroundColor, the applied color is incorrect:
Specifically, in my case, I am setting a #8d6e63 (brown) using R.color.primaryColor.
withBackgroundColor(R.color.primaryColor)
The result is a violet color.
As a temporary solution, the following code works as expected:
withBackgroundColor(Color.parseColor("#8d6e63"))
Thank you.
This will be ported to NetStandard soon?
Hello @pantrif,
Thank for this lib
I am configured splash screen in my test app it will show me white screen before splash screen load for 2 to 3 ms. How to avoid this.
Thanks for help.
Hi, thanks for your library.
Can I change the match_parent for background image in wrap_content?
if yes where? and another question is if I can change the logo position on display need upper... thanks
thanks
does this issue has anything to do with deprecated jCenter() ?? if so, do you consider publishing the library on Maven() ??
Can not resolve reference: EDMTBinding
, referenced by your project
. Please add a NuGet package or assembly reference for EDMTBinding
, or remove the reference to your project
but the reference does not exist....
and say that I finally thought I had found something to do with that stupid splash screen.
The library is not working. I tried the library but it does not work and just makes my app to crash unexpectedly.
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.