How to Build an Animated Splash Screen on Android - The Full Guide

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 56

  • @dyakeso
    @dyakeso 11 місяців тому +31

    Hi Philipp! I come from Kazakhstan, this is a state in Central Asia. I want to become an android developer and study Kotlin from your videos. Thank you very much for your work, I wish you good luck!

    • @dyakeso
      @dyakeso 11 місяців тому

      @213entertainment3 Are you an android developer? What do you think about web3/solidity developers?

    • @dyakeso
      @dyakeso 11 місяців тому

      @213entertainment3 thanks man, for your information

    • @kasutte6787
      @kasutte6787 5 місяців тому

      да бред полный не слушай чела выше, везде разрабы нужны. рынок не более перенасыщен чем рынок тех же дизайнеров, все равно же люди работу находят) всегда есть фриланс и аутсорс если в компаниях не получается

  • @arthurgichuhi
    @arthurgichuhi 9 місяців тому +7

    You content has been phenomenal in my Native Android Development Journey. Much appreciation from Nairobi Kenya.

  • @ArthurKhazbs
    @ArthurKhazbs 2 місяці тому +1

    Philipp Lackner, you are the backbone of modern Android app development! Thank you!

  • @y.ice-cream
    @y.ice-cream 11 місяців тому +3

    I'm from India.
    I had been watching your tutorials since many years.. love the way you explain.. also recommended your contents to my juniors..
    Keep up the great work ❤

  • @__SnowFlake
    @__SnowFlake 11 місяців тому +2

    Your vids and those thumbnails? Absolute fire! Keep it up!

  • @muhammadfurqan4598
    @muhammadfurqan4598 11 місяців тому +5

    Hi Philipp ! You're awesome and your videos are too good. Anyone can easily understand. I have a request if you can make a video on ci/cd it will be very thankful or you have any video in your channel please mention it.
    Thanks alot and respect🥰

  • @_danish19
    @_danish19 8 місяців тому

    Hey Philipp, thanks for all the amazing content you provide ❤
    My company wants me to put a lottie animation and I seriously can’t make them understand why splash screens are the way it is. As you might be aware of airbnb library for using lottie. I do have my own splash implementation with it and it works fine but I was seriously wondering how guys in big companies pull it off like I wanna make sure I am also professionally doing it the correct way. A video with lottie and splash would really worth a lot for us. Thanks again.

  • @MuhammadTauqeer-m8d
    @MuhammadTauqeer-m8d 8 місяців тому

    amazing tutorial!! I've learnt so much from you in the last 2 years. Thanks a lot

  • @anowlwithinternet9125
    @anowlwithinternet9125 11 місяців тому

    This was very helpful philipp. Love from India 🐥

  • @Arcao
    @Arcao 11 місяців тому +4

    There are several pitfalls with splashScreen API. Animated icon can be shown since SDK 31, older devices can show static image only. Icon is cropped, so you can't increase icon size with scale animation too much. When you want to repeat animation, you can only repeat simple animation. If you have animation set, where animations ends in different time, there is no way to repeat whole set. There is suggestion from Android team to try combine animations and interpolators. But there is another pitfall, that interpolator must start at [0,0] and ends at [1,1]. So you can't do interpolator end at [1,0]. Anyway I finally do static image in splashScreen API and perform animation in custom splash screen fragment, where I listen for animation end and restart whole animation.

    • @MatthewSmith-mt3kz
      @MatthewSmith-mt3kz 11 місяців тому +1

      Good demo, thank you. Though for those of us with older devices . . .

    • @RexTorres
      @RexTorres 11 місяців тому

      There are also cases where loading your app (especially for the first time) requires some lengthy operations in the background, like downloading some remote assets, and you'd want to indicate to the user that your app is doing this, by way of some texts and/or progress bar, for example.
      But there's no way to do this using the splash screen API because it only allows you to display 1 drawable in the center, and nothing else.
      So you'd need to write your custom splash screen and you'd need to write extra code to remove the built-in splash screen so that you don't end up with 2 splash screens.

  • @mohamedwael2145
    @mohamedwael2145 11 місяців тому +9

    Why the 3 xml files approach ?
    You can just create one Animated Vector Drawable that has everything !
    Also you can use shapeshifter to animate any vector, it's easier and quite frankly more efficient to create and modify the animation, and it outputs the animated vector file for you.

    • @rogercolque
      @rogercolque 11 місяців тому

      i would search about it. i like that topic. would yo recommend a blog or something..

    • @StealerSlain
      @StealerSlain 11 місяців тому

      Agree, shapeshifter is king

  • @mehrojrabiev4738
    @mehrojrabiev4738 11 місяців тому +1

    you've never had roadmaps and all the newbies will just get confused, please take a video
    😄

  • @jarvis2913
    @jarvis2913 11 місяців тому +1

    Thanks for another best guide

  • @D-Gowda09
    @D-Gowda09 11 місяців тому +1

    Waiting for Sunday's workshop

  • @antoniomontecinososorio7116
    @antoniomontecinososorio7116 9 місяців тому +1

    Thank you for your videos, they have helped me a lot. I have a problem with the splash screen; when I'm in dark mode, the animation appears correctly, but when I switch to light mode, the splash logo changes to the default one. What could be causing this?

  • @vinayshaw6238
    @vinayshaw6238 10 місяців тому +1

    There's one issue with this, is that when you write code for exitanimation the status bar color changes to grey and when we toggle the systemui theme then it get fixed so if you see this comment please help me to fix this issue.

  • @mehrojrabiev4738
    @mehrojrabiev4738 11 місяців тому +1

    hello, please make a roadmap from scratch to the professional level of an android developer🧑‍💻

  • @andrescaicedo577
    @andrescaicedo577 11 місяців тому +2

    Hi! I have a question, when I run the app doesn't show my logo, justo show a purple android logo and doesn't rotate, what happen? What did I do wrong? Help

    • @adamobranz5052
      @adamobranz5052 5 місяців тому

      means that you are running the app on a device that has version less than 31

  • @ankitvat3347
    @ankitvat3347 6 місяців тому

    Hi Philipp. Integrated this in my project .. now the statusBar is always Gray. I've tried changing the status bar color in Theme.kt .. tried other methods as well ... not working. Please help :(

  • @ALEX54402
    @ALEX54402 11 місяців тому +1

    Finally i got it

  • @Officialupadhyay
    @Officialupadhyay 4 місяці тому +1

    How to change slash screen with phone on smartwatch please bro make video for this problem 😢

  • @veceluxa7601
    @veceluxa7601 11 місяців тому +2

    Why not use Shapeshifter Design to create animations? It's much more understandable and easier to use than creating animations by hand

  • @mayank3411
    @mayank3411 8 місяців тому +1

    It run on my phone but the logo is not rotated in other phone how? please help

  • @KirlampalliSaran
    @KirlampalliSaran 11 місяців тому

    Good work

  • @Michelle-l4q9s
    @Michelle-l4q9s 11 місяців тому +1

    Any idea how to fix, after the splash screen it will have a blank/white screen then moving onto the main screen we have?

    • @georgeapergis1797
      @georgeapergis1797 10 місяців тому

      exactly, same here. I don't think i did anything wrong so whats the problem? Any fixes?

    • @georgeapergis1797
      @georgeapergis1797 10 місяців тому +1

      nevermind I found the problem. TL;DR kill the app and run from the launcher, the splashscreen does not show up when run from Android Studio. known bug apparently

  • @norbiderbar3727
    @norbiderbar3727 11 місяців тому

    Top zu wissen, dass es so auch geht...Ich bevorzuge für sowas trotzdem Lottie

  • @pickemparty
    @pickemparty Місяць тому

    How can you scale the image off the screen?!

  • @KunalGoyal
    @KunalGoyal 7 місяців тому

    Hey philipp, can i use your logo in my app ?

  • @mrmoss1605
    @mrmoss1605 6 місяців тому

    Hi There Guys. What can I do to remove the titlebar

  • @bpavuk
    @bpavuk 11 місяців тому

    I'd like to make a wide splash screen - something like Netflix on iOS

  • @sikka09
    @sikka09 11 місяців тому

    can you give a freelancer guide video for android developer?

    • @PhilippLackner
      @PhilippLackner  11 місяців тому +1

      You learn all that here: pl-coding.com/academy

  • @Nixomia
    @Nixomia 11 місяців тому

    Hi ... please give me your opinion on that
    do you think we can rely on the plain compose navigation (androidx.navigation:navigation-compose) or it is better to use a library like compose destinations ?

  • @safionweb
    @safionweb 11 місяців тому

    I think we are never gonna get rid of XML.

  • @mrmohammadshah
    @mrmohammadshah Місяць тому

    How to create this logo in splash screen?

  • @usama6728
    @usama6728 9 місяців тому

    This code is available in Java ?

  • @animecontent232
    @animecontent232 11 місяців тому

    I love you so much

  • @manishpal1141
    @manishpal1141 11 місяців тому

    Sir pl launch series on kotlin multiplatform❤

  • @rom_sper
    @rom_sper 9 місяців тому

    It's cool but... TOO MUCH CODE
    I prefer Lottie animation - it's more convenient and easy to use!

  • @amit470
    @amit470 11 місяців тому

    Hello dev

  • @emmagetsu7369
    @emmagetsu7369 11 місяців тому

    In compose please

  • @andrewdunbar828
    @andrewdunbar828 11 місяців тому

    was sie aussehen