Splash Screen in Android Studio | Food App in Android Studio 





Splash Screen in Android Studio | Food App in Android Studio



Splash Screen in Android Studio | Food App in Android Studio | #2 | Android Tutorials

Welcome back to Android Studio, In this tutorial, I am going to show you How to make Splash Screen in Android Studio. This is the Second Part of the Food App in Android Studio. You will see How our Splash Screen, Onboarding Screen, Dashboard Screen, Login Sign up Screen will look like. Here, I will design the Food Delivery App in Android Studio which will have the design as shown in this video. And Also, I am going to add the Notification, Internet Connection Checking, App Performance Checking, In-App Messaging, Search Function, and Many More things...

Welcome back to Android tutorials and in this series, we are building a food app in android studio for our food ordering application we need a splash screen that attracts our users to install and use the application again and again so for that purpose we are making and splash screen this is also a type of intro screen in our application where the user first interference so let's begin with our today's android tutorial building and splash screen in android studio for our food application so for our food application I had made one layout like this and then we will add a handler which will move to next activity after some seconds first I had one background image so you can see that background image here in drawable file and I had also found one logo so that we can use it directly

first is splash image this is the background of our splash screen you can see that and next is logo first it is in png form now i am closing that images and if you want this image then you can find online or after some time it will be in the description also and you will get also free source code of this food application in android studio in the description so wait for ending this application now i am going to write a background as a splash image as we are going to use that only next i have one image view and that image view name is id background image this is 260 dp i had taken it a random so you can also take it but make sure it is in square format now we have to create this blank white circle so for that click on drawable and then right click on drawable folder then you will find one pop-up show up in which you have to select a new drab resource file so after that when you click uh okay you will find one xml file like this which is splash circle background and name it like that so he in here we have to write splash sorry shape that is oval so write android shape attribute over here and make them solid white if you want then you can also add a gradient but i think gradient will not look good in this splash screen so i had taken color white only and let me show you the path to create new file so on drawable right click new and travel resource file here you have to write your name of your project here so splash circle background this will create a new file but

I had already created it so i'm not creating it again and you have to copy paste this code after in our back to our activity splash where we are creating full app splash screen we have to make sure that all things in center so i'll align them in every to be parent means this will be in center in parent and given its content description as a app name so that we will remove the warnings next i have is image view logo that you can see it here and for that logo i had taken prep content because my logo is in the png format so it will take automatically its size and again align them in center next i had taken is some text that is food for everyone this will be tagline of our application so here you can see that tagline and we are using its width and height web content and its id is titled text next i am using font family new new toe semi bold if you don't find this in your project then move to design part click on that text view and search here for font family and in here you will find a fun family more font so in this more font you have to select any of these font you want to use in your project suppose i want to add then new into so here i'd click on that and i can implement any of this so now i'm going to implement regular because we will use it in next part so click ok so it will automatically takes a part of that font family after this thing complete we will find that in our project that will available here so now moving to semibolt again and

after it will show now moving to again to code we have text that is food for everyone and text color that is f a 4a oc this is a orange kind of color which we had used and then again align them in center so i think this image looks good and also don't forget to add this bias because this will move the text little down now moving to its activity in splash activity we have to create new handler so let me create it for you new handler

and in here we have to add post delayed method so post delayed and new runnable this method will create automatically so here we have to write intent intent is equal to new intent get application context so this will get the current context of application food app and next we have to write get started screen so if user will first time then we will move them to get started activity which will design in our next food app video here i am writing stat activity and that is intent and don't forget to finish this activity else when user click on back press method then it will show up again now this will generate a huge error so don't afraid of date and write splash timer now this splash timer

is nothing but us long with some value here it is 3000 which means 3 seconds after 3 seconds we will move to get started activity and then close this so with the help of this you will create a food app splash screen in android studio so if you are enjoying this food app series

You will get the Free Source Code of Complete food App through GitHub at last video of this Food App in the Android Studio Playlist. Watch this Playlist Completely to make the Food App in Android Studio...

Check out this #AndroidTutorialsPlaylist :
(1) How To Convert A Website Into a Professional Android App Using ANDROID STUDIO  2020 - https://www.youtube.com/playlist?list=PL7nYsbTdViSqf_RlSZvdMshSxCdeE7Dl6

(2) Wallpaper App in Android Studio (using Pexel API) | Android Tutorials - https://www.youtube.com/playlist?list=PL7nYsbTdViSowlrgM6rDQJrIL7lL2ansh



Subscribe to our channel Android Tutorials. And Don't forget to Like, and Share this Android tutorial. 

Thanks for Reading...
#AndroidTutorials

Post a Comment

أحدث أقدم