How to design a good looking Login Screen in Android with Profile Image

Hey, Guys, this post is about making a login screen this design is created by one of my friend ‎Leo Elstin . He already shares the full source code in GitHub but I am making this tutorial for better understand the original source code is in Kotlin but I am making this tutorial in Java

SO here is the image of how its look.


1. Create a new project. 

1. Create a new project in Android Studio from File ⇒ New Project and select Empty Activity from templates.or you can choose your existing project.

2. Add this dependency to your app/build.gradle. And Sync the project.


3. Now open your activity_main.xml file and past this code /app/src/main/res/layout/activity_main.xml

4. Now create a new layout under the layout folder and name it as content_main.xml and past this code.

5. Now open MainActivity.java file and paste this code


That's it now you can run your project and see how its look...

Thanks for your time you can see the original code from GitHub -> Download Full Source Code

Comments

Post a Comment