How to create a Splash Screen in Android Studio (Kotlin 2020)

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

КОМЕНТАРІ • 73

  • @TBrianOnline
    @TBrianOnline 4 роки тому +5

    I implemented this into my app that uses fragments and navigation plus custom toolbar and it works flawlessly. Thanks and keep up the good work!

  • @prfeny4316
    @prfeny4316 2 роки тому +3

    I appreciate how you just jumped into the tutorial directly
    thanks for this tutorial it was amazing

  • @prajjwalrajput908
    @prajjwalrajput908 4 роки тому +4

    Glad I got recommendation and discovered this channel. I Always wanted to learn Android development with Kotlin thanks man your channel is really a heaven for Android Dev 's 😇 ❤️

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

    I love your no-frills presentation. Super concise and helpful. Thanks.

  • @JuniorOtto-x6x
    @JuniorOtto-x6x Рік тому +3

    Super concise! Love this!
    Would have been great if you added the source code in the content description.

  • @gruhitpatel9061
    @gruhitpatel9061 3 роки тому +1

    Short and simple video with clear explanation. Thanks !!!

  • @cinemovieone
    @cinemovieone 4 роки тому +4

    you could make an introduction screen of the app, when the person installs it for the first time, it would be interesting.
    Great videos.

  • @saarthakmarkandey452
    @saarthakmarkandey452 3 роки тому +7

    i made my image id as iv_note but the compiler cant get the reference pls help

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 роки тому +4

    How you used Id name without binding.ID and without findviewbyid ??

  • @Roosevelth
    @Roosevelth 4 роки тому +5

    I have a problem with iv_note it tells me unresolved reference, how can I solve this problem?

    • @Dcutz
      @Dcutz 4 роки тому

      iv_note is most likely the ID of the image in the xml file.. iv_note stands for image view _ note(as is the musical note) lol

    • @RankOoze
      @RankOoze 3 роки тому +4

      id 'kotlin-android-extensions' Just add this to your build.gradle (app)

    • @ServerYT
      @ServerYT 3 роки тому

      @@RankOoze yeah, that did it, nice.

    • @deeno9631
      @deeno9631 2 роки тому

      @@RankOoze thank you

    • @1USAUSA
      @1USAUSA 2 роки тому +6

      @@deeno9631 Thank you what, my friend... What did you EXACTLY do to resolve this? Yes, we all know iv_note is an ID for the IMAGEVIEW in Activity_Splash_Screen.XML and Activity_Splash_Screen is LINKED to SplashScreenActivity.kt. Still, Android Studio can't resolve iv_note in SplashScreenActivity.kt. What EXACTLY did you and Server above you do to resolve this issue?

  • @ismailkoyuncu5518
    @ismailkoyuncu5518 3 роки тому +1

    Thanks for all. We are waiting new the videos.👏👏👏

  • @anshul2675
    @anshul2675 4 роки тому +3

    unresolved reference iv_note....? how to fix this error

  • @antoniorojas7553
    @antoniorojas7553 4 роки тому +1

    ¡Justo lo que estaba buscando!

  • @archroid2004
    @archroid2004 3 роки тому

    Thank u. It really helped me. I appreciate it. :) Good luck

  • @rishurana994
    @rishurana994 3 роки тому +1

    Thanks for the help buddy. Keep Up!!

  • @fliamachado
    @fliamachado 3 роки тому

    Works Like a charm!

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

    man u amazing and right to the point

  • @techpal5525
    @techpal5525 3 роки тому

    Thank you.
    Now, I've researched about the blogspot link you gave in the description, that the contents inside the link should be more "efficient" than you're code, I think its the same. Hmm.

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

    thanks for the tutorial it's really helpfull ...but i have a little problem if anyone can help ...
    i'm a beginer and i'm working on an app delivery and wanted to add a splash screen to my app ...but when idid exactely what i saw on this video and build the app then tested it on my android device the splash screen wouldn't appear and it went directly to the main page wich is the login page ...if anyone can help me with this it would be grate ...thanks y'all have a nice day !

  • @MarianoAltuna
    @MarianoAltuna 4 роки тому +1

    the best channel

  • @MahmoudAL-Bndkji
    @MahmoudAL-Bndkji Рік тому

    Thanks My Friend 🌹🌹🌹🌹

  • @rampage2410
    @rampage2410 4 роки тому +1

    Some error came up when running the app. Fixed it by changing
    startActivities(intent)
    TO
    startActivities(arrayOf(intent))
    This is what my final kotlin looked in my SplashScreenActivity.kt
    package com.example.ergames
    import android.content.Intent
    import androidx.appcompat.app.AppCompatActivity
    import android.os.Bundle
    import kotlinx.android.synthetic.main.activity_splash_screen.*
    class SplashScreenActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_splash_screen)
    McCoy.alpha = 0f
    McCoy.animate().setDuration(1500).alpha(1f).withEndAction {
    val intent = Intent(this, MainActivity::class.java)
    startActivities(arrayOf(intent))
    overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out)
    finish()
    }
    }
    }

  • @randypenajimenez3893
    @randypenajimenez3893 3 роки тому +1

    Thanks man!!

  • @DerCheckerzeigts
    @DerCheckerzeigts 3 роки тому +1

    Please don't do that. You don't need another activity in order to create a splash screen. It is not recommended by google to have more than one activity as this introduces bugs..

  • @SerhiiOr
    @SerhiiOr 4 роки тому +1

    Nice job!

  • @6_6amv66
    @6_6amv66 3 роки тому +1

    Thank you 💕

  • @galihal7030
    @galihal7030 3 роки тому +1

    thank a lot man

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

    Thx bro !!

  • @leanneralphisales6177
    @leanneralphisales6177 4 роки тому

    I don't have the styles.xml in my values folder. Can you help me out? TIA.

    • @leanneralphisales6177
      @leanneralphisales6177 4 роки тому +1

      What I have is themes folder instead of style.xml

    • @GMG2012DRONE
      @GMG2012DRONE 3 роки тому

      @@leanneralphisales6177 It is themes now I believe but it has the same functions

    • @sridharsingaravelu4467
      @sridharsingaravelu4467 3 роки тому

      @@leanneralphisales6177 In new Android studio there is no styles. Xml

  • @warpwavestudios
    @warpwavestudios 3 роки тому +1

    oddio sei italiano per caso?

    • @Indently
      @Indently  3 роки тому +1

      ahaha, si, peró ho vissuto per molto tempo all'estero

    • @warpwavestudios
      @warpwavestudios 3 роки тому

      @@Indently bro hai per caso il file di questo progetto?vorrei provare ,perché uso da poco android studiose lo hai me lo puoi inviare ?

  • @mahmoudzeidan8617
    @mahmoudzeidan8617 2 роки тому

    thank my love

  • @levizerad
    @levizerad 4 роки тому

    thankss bro help me a lot

  • @nardosteve
    @nardosteve 2 роки тому +1

    Too fast, lack of detail and some concepts are not well explained

    • @Indently
      @Indently  2 роки тому +1

      For a comment complaining about lack of detail, it was not very detailed 😂

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

      @@Indently but he is right. Is here an updated Version that actually works?

  • @mahetaabhay1350
    @mahetaabhay1350 4 роки тому

    i need help in ""iv_note" is this what ? because i can't found a right method to putting it.

    • @Indently
      @Indently  4 роки тому

      iv_note is imageview from the XML

    • @mahetaabhay1350
      @mahetaabhay1350 4 роки тому

      @@Indently ohky so, one question in my mind can we set into progressBar ?

    • @Indently
      @Indently  4 роки тому +1

      You can place a progress bar into the splashscreen activity, and start the MainActivity Intent when the progress bar reaches 100%.

    • @mahetaabhay1350
      @mahetaabhay1350 4 роки тому

      @@Indently thank you for your support..

    • @Vandermolins23
      @Vandermolins23 4 роки тому

      @@Indently What did you do to resolve it, i´m still with error (I set a different name for image and im using the same on de code) ...

  • @naimeimran3247
    @naimeimran3247 3 роки тому

    Nice

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

    i love you.

  • @gen-sd1xn
    @gen-sd1xn 2 роки тому

    thankyu so muchhh

  • @naturalhoney6307
    @naturalhoney6307 4 роки тому

    How do I create what you did in 2:21 ?

    • @Indently
      @Indently  4 роки тому

      That's just importing and Image View from my xml, try hovering over it

    • @naturalhoney6307
      @naturalhoney6307 4 роки тому

      @@Indently Nothing happened.
      How can I make it in xml?

    • @aminehii7113
      @aminehii7113 2 роки тому +1

      @@naturalhoney6307 I solved the problem, put it as :
      class SplashScreenActivity : AppCompatActivity() {
      lateinit var handler: Handler
      override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_splash_screen)
      handler = Handler()
      handler.postDelayed({
      val i = Intent(this, MainActivity::class.java)
      startActivity(i)
      overridePendingTransition(android.R.anim.fade_in,android.R.anim.fade_out)
      finish()
      }, 3000)

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

      @@aminehii7113 what's the intent for (after val i)

  • @amrutha46
    @amrutha46 4 роки тому

    After this how to create login screen

  • @tripplesix4282
    @tripplesix4282 2 роки тому

    крутой видос!

  • @maximlanda6315
    @maximlanda6315 4 роки тому +2

    Kot means cat in RUssians

    • @kislatron4717
      @kislatron4717 4 роки тому +1

      Kotlin is the name of an Island, nothing to do with cats.

  • @Mhysthyckque
    @Mhysthyckque 4 роки тому

    I need the java version

  • @ramnarayanan7589
    @ramnarayanan7589 3 роки тому +1

    I dont have a styles.xml file inside values :(

    • @Indently
      @Indently  3 роки тому

      game over, man, game over

    • @metallogic1
      @metallogic1 3 роки тому

      Create a style.xml file