How To Create Login Page And Password Interface Using Android Studio


The following steps must be followed in an order to create an Android app in Android Studio. We will create a simple login page and password interface using Android Studio. It’s a very easy method and you need not worry about installing the Visual Studio and  Xamarin Studio, because it takes a lot of time to install and then you need to know about C#. The good, easy, and the best way is Android Studio with Java because Java is platform independent and we can run Java applications even in a Calculator. Here, you can know more about Java.

Requirements For Android App Development

Step 1 -

Open Android Studio.
Then, select Start a New Project.
Specify your App name.
Select the category to which you’re going to develop an app for Smartphone and Tablet, Wear, Android TV..etc.

The above picture shows that my app's name is Chat. It is displaying "Welcome to the chat" as the text View which can be dragged from the toolbar on left side.

Step 2 - Add the Text View label from Toolbar and change default text to Login.

Step 3 - Now, add the Email label and Password label from toolbar to insert, by dragging and dropping into mainactivity design page.

Step4 - Then, add a button to mainactivity as Login button. Here, we have created the button as Login by drag and drop.

Step 5 - Now, we need to execute our Login page interface in our virtual device. It’s an emulator which enables us to run our Android Operating System in Android Studio to run our apk file created.

Our Login Page interface is created successfully, by just simply dragging and dropping. In my next article, I will continue by showing you how to access multiple user interactive pages using different button functions.


Build smarter apps with Machine Learning, Bots, Cognitive Services - Start free.

Start Learning Now