
Select New menu item -> select Activity menu item -> and then select “ Login Activity” menu item to start adding an Activity to the Project. Right-click on the Android view ( where we are seeing the list of files) Android Studio will display the context menu. In addition to the “ Main Activity“, we are going to add “ Login Activity“. We already have a “Main Activity” which is displaying the “Hello, World!” message, when we Run the Project. Lets’ add “ Login Activity” to our Android Project “ MyApp“. Open our Android Project “ MyApp“, which we have created in our Previous Article “ Android Studio : Create Android Project“.


In this article, I am going to explain, add LoginActivity and launch it when we Run the Application.

Android Studio – LoginActivity is a pre-defined Activity we can add to our Project in Android Studio.
