How to make a Splash Screen without extra Activity in Android
Вставка
- Опубліковано 30 жов 2020
- In this video we will create a real splash screen that doesn't require an extra activity to be shown.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses...
Regular Android tutorials on my Instagram: / _philipplackner_
Checkout my GitHub: github.com/philipplackner
7:51 don't do that in tag application, it also applies in another activity. Add theme in tag activity so it only applies on the specific activity.
thanks !
Thanks Buddy ! : )
Thank you so much bro! I spent a while trying to solve this. newbie here.
hello!!!anyone up there??i need some help :)
@@MateusMeurer yeah!!me newbie too. I was trying a lot to solve the issue but can't:( ...........................finally got the solution!!had to refer some resources.
Brilliant video. Just nowhere else on the internet providing this level of clarity and simplicity. Thanks so much, Philipp!
Thank you! Glad it was helpful!
FINALLY! Just because of your WISE advice, I'm subscribing. You know how a real splash screen should be. THANK YOU.
thanks, lately, I am confused about the splash screen, I used to splash screen like an activity until I watch how you do. Appreciate you!!
Thanks man, this is just awesome! Thanks for all these great videos! All the best and stay safe in this pandemic!
Thank you sir! I was making my thesis android application and I got a warning from android studio telling me I shouldn't make my own splashscreen~ This really help me a lot! Thank you very much again!!!! :>> (from Philippines)
I'm doing a university project and your videos really help me a lot, thanks! (from Russia)
This is exactly what i was looking for. Thank you so much
bro you got me. such lovely explanation and the best way to implement a splash screeen
this is totally professional .... you are always the best
Thanks phil, I love how you do it the "right way".
Very welcome
Phil... You're my hero....
@@PhilippLackner I WANT TO ADD A PROGRESS BAR ANIMATION IN THIS DRAWABLE RESOURSE FILE BUT I CANT FIND A WAY TO DO SO
bro can u explain how to implement layout files attributes in drawable resourse file...
I actually created a whole new activity for this I never knew this could be done thanks for the video
Thanks for sharing your knowledge! This will help me with a task in my job 😍 nice tip.
Wow, this is a very ingenious way to do it. But instead of writing android: theme in , I wrote in so that it doesn't apply to all of my Activities
can u explain more because i have this issue how i can fix it
@@ahmedrashed2587 What about the last sentence? If you put in it will be attached to all activities. If it shouldn't apply to all activities, write in the so that it only applies to the activity you wrote it for. It's in manifest
@@Snuiper228 What if I use only one activity but with multiple fragment ?? Is there any way to fix that one. Edit: Nevermind I fixed it, so you could put the theme that you want for all of your screens in their layout file(s), and still keep the application's theme is the splash screen. Just want to leave it here so if anyone see this, they know how to do.
This video was very usefull, every day I'm learnig a lot, regards from Caracas, Venezuela
Very helpful. I really appreciate this video. Thanks, mate ;)
This was something way simpler than I thought! Thanks a lot for all tutorials you make!
Glad it was helpful!
thanks phil,i just found amazing android channel tutorial that uses dark theme android studio :)....keep it up
Thanks, will do!
Very helpful. Thank you so much!
Love your videos. They really helped me a lot.
I love your method tried it and it's perfect thanks 👍 man
Awesome tutorial. Thank you. From Russia with love!
Thank you so much for the video. Happy coding.
thank you! best tutorial on this topic!
Hey! I found your channel yesterday. I was strugging to get started with android studio but thanks to you I have a better understanding of Android Apps development. I have a class project of making a todo list app (from scratch and without any help from the teacher lmao) aaaaand in java (rather than kotlin). Well, 5 hours later, I have a functionning app. It took me some time to translate the kotlin code in java but now everything's working. Thanks a lot
Glad I could help!
how did you translate kotlin code to java?
@@poojamore056 you just have to find the equivalent
Excellent video!!! thank you so much!!
Thanks Phil. You're the best
Thanks, man! I've improved a bit idea and directly specified theme for each activity in manifest 3>
Thanks bro, I was using an extra activity all this time.
Awesome topic, thanks a lot for sharing this 👌
hey, thank you for creating the video. It helped out a lot thanks
Thank you, it was very helpful.
This is a great tutorial. Thank you
Love your videos (keep them coming) and I am down with your accent.
Bro a big thank for making our life easier , good by splash activity
Thank you sir. Finally i found the correct way for splash screen
Thanks for this kind of content. Keep it up!
Thanks, will do!
finally you found this thing that i never managed to do ! But do you have any idea how much time at the maximum can the oncreate take ? i mean, for UPI apps that have transaction like paytm are actually taking more than an app like whatsapp . Is it the security you think that takes so long or a bad splash screen ?
Finally did it! xD still appreciate it
Hello Philipp, thanks for the tutorial, ifound it very interesting however how can we set the setcontentview after webview end up load?
congrats for 100k subs bro
thank you bro, that was very helpfuly
Another great video. Thank you!
My pleasure!
niceeee
Thanks!
Thanks, very well explained, very much helpful..
Glad it was helpful!
It works for me !!! thanks, Samsung Galaxy A5, canada
thanks a lot, i have to build an app with only one activity for the scool and i have to use splashscreen , till now i was just finding the other way with a whole activity as a splashscreen
What else to say, that was awesome. Thank you.
Glad you enjoyed it!
very useful video, thanks!
This is a great contribution, many thanks. I have a blank screen for a short time after the logo. How can it be resolved?
Great tutorials sir👍👍👍
The best solution!
Thank You for Your work!
You're welcome
you are the best content creator
This is what I was looking for, a splash screen without a whole new activity.
Hey Phil, awesome video man - Did you have the chance of looking the new SplashScreen API for Android 12? Cheers man!
Great bro.. keep it up..
Thanks, man you care for us a lot
My pleasure!
Thanks for making this video we need this
Never heard of this approach - thank you for sharing it! Since I use a very short animation of a custom shape in the splash screen in my current app, how would you implement such animations in your approach (I'm using an animated-vector SVG asset for the animation)?
This approach does not allow any time limited operations like an animation. It is primarly for making the splash screen last as long as the activity takes to call onCreate, thus preventing the awkward blank white/black activity on startup.
Yeah me too I used to do short animation for my splash screen but I think now I'm going to do that technic because Philipp's right, the user doesn't really care about our logo xD
@@feepin2058 However, On Splash activity (the first activity) you can check if the user is logged or not. If user is logged then go to home else then go to login screen.
@@confuste That's not the matter here, at all
Thanks for this informative video sir, can we have a sequel about a simple animation to the logo here, Zoom out for instance ??
Thanks, i was doing it in that way before, but when i was studiyng about it, all other videos was showing the wrong way, using another activity, that always look was wrong for me, so thank you, i tought i was doing it wrong, using theme instead activity, thanks.
Thanks from Ukraine ;) subscribed your channel, thanks for usefull videos. I learn android and improve my english with you)
really nice video, congrats
Lovely 💝 thanks a lot
hi phil, am using PNG and it seem different from SVG after adding it as an Image asset.. could you help on how to go about it since my Logo is in PNG and JPEG only.
You should have also said that the parent of the theme that you are creating must be such that there is no problem created when you have buttons because if you change the background you have to also fix the buttons background otherwise it will change them.
Very Nice Video Thank You
Great, thanks!
Thanks for Best Tutorial
I have used this method for my webview app , is there any way to splash wait for load website in the background ?
Thank you sir very much...
Thank you, for a video. But i have a question. What will we do if on the bottom of Splash Screen must be version of application( example - Version: 1.0.0 )?
thanks bro. good tutor
Very useful brother 🎉😁
Useful information
i wanna do it with some animations and seekbar , but with a fragment using navigation component, the problem is : i don't know how can i change only the theme of the splash screen fragment(statusBarColor, actionBarColor...) ??
Thanks for making this video
How can we add text in bottom side with logo?
love you 3000 bro
awesome video !
Hi, thanks for this tutorial..but have you by any chance been able to try it on android 4.4 (API 19) . For some reason the logo stretches in a weird way and no amount of hack has been able to fix it. Do you have any idea how I could fix this please?
Thanks for showing this, I've just started building apps, and already doing this the wrong way lol
thank you, this what i want
The sponsor of this video is awesome, I have tried it, trust me.
THANK YOU MAN! lysm 😘
i apply this and other activity for more customize with animations and others.
helpful
Thanks
thanks man, thank you for sharing
My pleasure!
When we have a project containing: Splash / Login / Register / Main / Listing / AddTask. How do I relate all this, in the Architecture Component, using an Activity and Fragments
This is amazing but what if i want to make custom design with multiple images for the splash screen how to do that ?
How about fetching data and doing some logic during the splash screen? Can it be done using this way?
so where do we add isauthenticated logic? previously i used to do it in splash activity
Is it keeps being the right approach in 2022? or now is a better way?
Very nice ❤
love you bhai♥️
Really helpful! but what if I need the splash for 1-2 seconds longer than this!?
so if we want to use also text view on splash screen then what's the way ??
I WANT TO ADD A PROGRESS BAR ANIMATION IN THIS DRAWABLE RESOURSE FILE BUT I CANT FIND A WAY TO DO SO
bro can u explain how to implement layout files attributes in drawable resourse file...
Thanks a lot bro!
No problem!
You're got my fu**** my like and subscription....
Awesome bro.... 👏👏👏
Awesome, thank you!
Brilliant, just solve a problem of weeks with your tutorial, please how can I include text with splash screen image
Put the text in the vector graphic
How to create a svg file? I only have png and jpg files with me