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

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

КОМЕНТАРІ • 56

  • @dyakeso
    @dyakeso Рік тому +32

    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 Рік тому

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

    • @dyakeso
      @dyakeso Рік тому

      @213entertainment3 thanks man, for your information

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

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

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

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

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

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

  • @y.ice-cream
    @y.ice-cream Рік тому +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 Рік тому +2

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

  • @muhammadfurqan4598
    @muhammadfurqan4598 Рік тому +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 9 місяців тому

    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.

  • @mohamedwael2145
    @mohamedwael2145 Рік тому +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 Рік тому

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

    • @StealerSlain
      @StealerSlain Рік тому

      Agree, shapeshifter is king

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

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

  • @anowlwithinternet9125
    @anowlwithinternet9125 Рік тому

    This was very helpful philipp. Love from India 🐥

  • @Arcao
    @Arcao Рік тому +5

    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 Рік тому +1

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

    • @RexTorres
      @RexTorres Рік тому

      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.

  • @mehrojrabiev4738
    @mehrojrabiev4738 Рік тому +1

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

  • @antoniomontecinososorio7116
    @antoniomontecinososorio7116 10 місяців тому +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?

  • @D-Gowda09
    @D-Gowda09 Рік тому +1

    Waiting for Sunday's workshop

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

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

  • @jarvis2913
    @jarvis2913 Рік тому +1

    Thanks for another best guide

  • @vinayshaw6238
    @vinayshaw6238 11 місяців тому +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 Рік тому +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 6 місяців тому

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

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

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

  • @veceluxa7601
    @veceluxa7601 Рік тому +2

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

  • @Michelle-l4q9s
    @Michelle-l4q9s Рік тому +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 11 місяців тому

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

    • @georgeapergis1797
      @georgeapergis1797 11 місяців тому +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

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

    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 :(

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

    How can you scale the image off the screen?!

  • @ALEX54402
    @ALEX54402 Рік тому +1

    Finally i got it

  • @norbiderbar3727
    @norbiderbar3727 Рік тому

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

  • @bpavuk
    @bpavuk Рік тому

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

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

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

  • @KirlampalliSaran
    @KirlampalliSaran Рік тому

    Good work

  • @sikka09
    @sikka09 Рік тому

    can you give a freelancer guide video for android developer?

    • @PhilippLackner
      @PhilippLackner  Рік тому +1

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

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

    How to create this logo in splash screen?

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

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

  • @safionweb
    @safionweb Рік тому

    I think we are never gonna get rid of XML.

  • @manishpal1141
    @manishpal1141 Рік тому

    Sir pl launch series on kotlin multiplatform❤

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

    This code is available in Java ?

  • @emmagetsu7369
    @emmagetsu7369 Рік тому

    In compose please

  • @animecontent232
    @animecontent232 Рік тому

    I love you so much

  • @Nixomia
    @Nixomia Рік тому

    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 ?

  • @amit470
    @amit470 Рік тому

    Hello dev

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

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

  • @andrewdunbar828
    @andrewdunbar828 Рік тому

    was sie aussehen