New Android Component Dialog
In this dialog box, specify the class that implements the new Android component, the component type, and the title to be displayed to the user.
In this text box, type the name of the class that implements the component.
In this drop-down list, specify the component type. The available options are:
AIDL: an Android Interface
Definition Language (AIDL) interface used for interprocess communication.
Activity: implements a window where you place your UI to interact with the user.
Android Auto: lets you
extend your application for use in vehicles. You can add either Media Service or
Messaging Service activity.
Folder: creates a source root based on the activity you have selected for this component.
Fragment: represents a behavior or a part of user interface in an activity.
Google: lets you create an activity for Google maps and AdMob Ads
Application: an Android package, i.e. an
.apk archive that
contains the contents of an Android app and the installer.
Service: represents an application's
desire either to perform an operation without interacting with the user, or to supply functionality for other applications.
- Other: lets you add the following components to your application:
- UI Component: lets
you add custom views to you application.
- Wear: lets you extend
your application for use in Android wear.
- Widget: lets you add
different types of widgets for your application.
- XML: lets you add
different types .xml files for Android layouts and values.
In this text box, type the title that will be displayed to the user.
|Mark as startup Activity||
Select this check box to have the new component of the Activity type displayed by default when the application starts.
Create layout file
Select this check box to have IntelliJ IDEA generate a stub of the related layout definition file, that is, the content view of the new activity or fragment.
If the check box is cleared, you will have to create a content view of the new activity or fragment manually.
Last modified: 29 November 2016