When it comes to providing a perfect environment where developers can build applications for Andriod Phones, Andriod Tablets, Android Wear, Andriod Auto, and Andriod TV, Andriod Studio is the best bet. It is the official integrated development environment (IDE) for Android application development. That means with it, you can build and develop Andriod applications. If you still don’t know that How to download and install android studio then visit the link!!
In the development of Andriod apps, an activity provides the window through which an app draws its user interface. It is simply one of the important parts of the Android Component. Activity serves as the entry point for an app’s interaction with the user. Broadly speaking, one activity implements one screen in an app. It differs and includes the following:
In this context, No Activity means starting a new empty project. Given this, when a developer chooses this activity there won’t be an XML file or a Java/Kotlin file. That is to say, no files are automatically generated when you select No Activity.
Basic Activity is created with the navigation component. That means when you select the basic activity, you will get a menu button, as well as a floating action button.
Bottom Navigation Activity
With Bottom Navigation Activity, you can create a new activity with bottom navigations. Nowadays, most apps contain a Bottom Navigation Bar. Apps like that include Facebook, Whatsapp, Instagram, and so on.
Empty Activity simply creates new empty activity. Most people select this activity when they start developing an android project.
This Activity creates a new login activity. It allows users to enter an email address and password to log in or register with the application. As a result of that, Login Activity is widely used, and one of the most common activities.
Google Maps Activity
Android Studio allows developers to integrate google maps into Andriod applications. With it, we can find our way to different locations on Google Maps. These files are created automatically when Google Maps Activity is selected.
Tabbed Activity gives a horizontal layout to display tabs. The activity is used alongside fragments because fragments are lightweight and apps have more functionality on a single screen. That means when the user clicks on the tab it will lead to the transaction of one Fragment to another. Also, ViewPager is used to swipe between the tabs. Apps like WhatsApp, and Facebook are examples of TabLayout with ViewPager.
On the other hand, Setting Activity creates a new activity that permits users to configure application settings. Files like that are automatically created when you select Settings Activity.
This activity is an important activity to have in an app. When the layout is long, it provides various users with a perfect view. Also, it creates a new vertical scrolling activity. Files like that are created automatically when you select Scrolling activity.
Native C++ creates an entirely new project with an empty activity. One of its advantages is that the project is configured to use JNI. JNI stands for Java Native Interface. JNI is vendor-neutral and has support for loading code from dynamic shared libraries, and while cumbersome at times is efficient. Native C++ is created automatically when you select the activity.
For more info, watch this video