Posts

What is Android Activity? How to add Activity in Android Studio?

Hello Enthusiasts, want to know about Android Application Development . But, before proceeding further, let's put some focus on its very important component i.e. Activity. The screen of the Android App's user interface is known as Android Activity. We can say that Android activity is as similar to Windows in a desktop application. In an Android app, there can be more than one activity or screen. Now let's discuss How to create an Activity in an Android Studio. In an Android Studio, it is very easy and simple to create an activity. Follow the steps as given below: 1. First of all, open your project in which you want to add an activity. 2. Now, right-click on the package, keep the cursor on new Tab, select Activity from the drop-down menu.and then choose the Empty Activity option. 3. On the next screen, enter the Activity Name and the rest of the fields will be filled by the Android Studio automatically. 4. Lastly, click on Finish Tab to complete the activity cre...
Recent posts