Every android application has login and registration procedure for authenticating or you can say tracking its users. Today's android tutorial is about designing the login and registration page for android application. Note that this tutorial is just about making the front end designs of the screen. We will cover the back-end coding, database management and sending requests to server in next tutorial. We will be building complete android app with fully functional login and signup with real time database in a step by step. Here is the demo Android App video.
This task is pretty easy now. You already have a template in Android Studio for login activity. And you can make changes according to your need like adding you logo, adding background image, and changing design, which we will learn in this tutorial. Now we should start with tutorial for our android app. Here is the final look of our Login/Signup screens.
Select the Login Activity template for launching activity of android app.
Create new activity named SignUp with Login Activity template.
Make necessary changes in the design according to your need.
You can get the complete android app code with back-end at Github Repository. Or you can get the code below in this post for login and sign up screens.
activity_sign_up.xml
activity_login.xml
Next Step
Now the next step is to make these screens functional. And fortunately, Android Studio does most of that part too. We just need to send the request for sign up and login to server and make authentication. For that part follow the next part of tutorial.