Elements in Android manifest. xml: Android

Source: Internet
Author: User

Http://qq361119908.iteye.com/blog/660700

Android: allowtaskreparenting

Whether to allow the activity to change the subordinate task, such as switching from a short message task to a browser task.
Bytes --------------------------------------------------------------------------------------
Android: alwaysretaintaskstate

Whether to keep the status unchanged, such as switching back to home and then opening the activity again.
Bytes --------------------------------------------------------------------------------------
Android: cleartaskonlanunch

For example, if p is activity, Q is activity triggered by P, and then return home, start p again, and check whether Q is displayed.
Bytes --------------------------------------------------------------------------------------
Android: configchanges

When the configuration list is modified, whether to call the onconfigurationchanged () method, for example, "locale | navigation | orientation ".
Bytes --------------------------------------------------------------------------------------

Android: Enabled

Can an activity be instantiated,
Bytes --------------------------------------------------------------------------------------

Android: excludefromrecents

Whether it can be displayed in the list of recently opened activities
Bytes --------------------------------------------------------------------------------------
Android: exported

Whether activity can be called by other programs
Bytes --------------------------------------------------------------------------------------
Android: finishontasklaunch

Whether to disable an opened activity. When the user restarts the task
Bytes --------------------------------------------------------------------------------------
Android. icon
Bytes --------------------------------------------------------------------------------------
Android: Label
Bytes --------------------------------------------------------------------------------------
Android: launchmode

Activity startup mode, "standard" "singletop" "singletask" "singleinstance". The first two are a group, and the last two are a group.
Bytes --------------------------------------------------------------------------------------

Android: Multiprocess
Allow multiple processes
Bytes --------------------------------------------------------------------------------------
Android: Name

Activity Class Name, which must be specified

Bytes --------------------------------------------------------------------------------------
Android: onhistory
Whether to remove this activity when the user switches to another screen. This attribute is introduced in API Level 3.
Bytes --------------------------------------------------------------------------------------

Android: Permission
Bytes --------------------------------------------------------------------------------------
Android: Process
The process name of an activity. All program components run in the default process of the application. The process name corresponds to the package name of the application. The element process attribute in <Application> can set a new default value for all components. However, any component can overwrite this default value, allowing you to run your program in multiple processes. If the attribute is assigned with a name starting with:, when the activity is running,
A new process dedicated to this program will be created. If the process name starts with a lowercase letter, the activity runs in a global process and is provided by its license.
Bytes --------------------------------------------------------------------------------------

Android: screenorientation

Activity display mode. "unspecified" Default Value: "Landscape" Landscape Painting mode. The width is greater than the height. The Portrait mode is greater than the width. "User" user's settings "behind" "sensor" "nosensor"

Bytes --------------------------------------------------------------------------------------

Android: statenotneeded

Whether the activity is destroyed or restarted successfully is not saved

Bytes --------------------------------------------------------------------------------------

Android: taskaffinity

The kinship of the activity. By default, the activity in the same application has the same relationship.

Bytes --------------------------------------------------------------------------------------

Android: Theme

If no theme is set, the theme style of the activity belongs to the application. For more information, see the theme attribute of the <Application> element.
Bytes --------------------------------------------------------------------------------------

Android: windowsoftinputmode

The interaction mode between the main activity window and the keyboard, which has been introduced since API level 3

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.