Making a Splash and Login screen on AndroidStudio — Kotlin
In this post, I’m showing you how to create your splash and login screen for your Android mobile app using AndroidStudio and Kotlin language.
First of all, a splash screen is the first screen visible when the app is launched. That screen displays an animation or the app logo for a few seconds to maybe load some data and then it switches to the login screen. The splash screen is mostly very simple to be made and it gives a more professional look to your application.
And the login screen will be where the users are going to be able to access their account in the application.
1. Creating the splash screen
style.xml
colors.xml
grad-bg.xml
acitivity_main.xml for the splash screen
ic_heartbeat.xml
main_activity.xml for the login screen
MainActivity.kt
2. Final results
So as you can see, the final results are two minimal and clean look screens, both with a blue ‘degradé’ that presents the logo and name of the application. And the Login screen has components to insert your Username and Password and also, bottoms to recuperate your forgotten password and to Register Now in case you’re a new user.
In case you’re curious about this in-progress project, here is my GitHub profile: https://github.com/annycmg/clinify-app
All the posts about this app will work as a journal for my BSc Computer Science thesis, I really would like to read your feedback and suggestions in the comments.
I hope I’ve helped you with the first step to create your application!