Androidmanifest. XML activity attribute description

Source: Internet
Author: User

Android: allowtaskreparenting <br/> whether to allow the activity to replace a subordinate task, such as switching from a short message task to a browser task. <Br/> persistence <br/> Android: alwaysretaintaskstate <br/> whether the status remains unchanged, for example, switching back to home and then opening again, activity is in the final state <br/> activities <br/> Android: cleartaskonlanunch <br/> for example, p is activity, Q is activity triggered by P, and then return home, start P again and check whether Q is displayed <br/> ---------------------------- ------------------------------------------------------ <Br/> Android: configchanges <br/> whether to call the onconfigurationchanged () method when the configuration list is modified, such as "locale | navigation | orientation ". <br/> events <br/> Android: enabled <br/> whether the activity can be instantiated <br/> events ------------------------------------------------------------------------------------ -- <Br/> Android: excludefromrecents <br/> whether it can be displayed in the list of recently opened activities <br/> enabled <br/> Android: exported <br/> whether to allow activity to be called by other programs <br/> allow <br/> Android: finishontasklaunch <br/> whether to disable an opened activity when the user restarts the task <br/> -------------------------------- ---------------------------------------------------- <Br/> android. icon <br/> activation <br/> Android: Label <br/> activation <br/> Android: launchmode <br/> activity startup mode, "standard" "singletop" "singletask" "singleinstance" where the first two are a group, and the last two are a group <br/> ------ Category <br/> Android: Multiprocess <br/> multi-process <br/> allowed <br/> Android: Name <br/> Activity Class Name, you must specify <br/> exclude <br/> Android: onhistory <br/> whether to remove this activity when the user switches to another screen. This attribute is the <br/> plugin <br/> Android: Permission <br/> plugin <br/> Android: process <br/> name of the process in which an activity runs. All program components run in the default process of the application. The process name is consistent with 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 assigned name starts with ":", a new process dedicated to this program will be created when the activity is running. If the process name starts with a lowercase letter, the activity runs in a global process and is provided by its license. <Br/> landscape <br/> Android: screenorientation <br/> activity display mode. The default value is "Landscape" Landscape Painting mode, the width is larger than the height. The Portrait mode of portrait is larger than the width. "User" user's settings "behind" "sensor" "nosensor" <br/> plugin <br/> Android: statenotneeded <br/> whether the activity is destroyed, restarted successfully, and not saved <br/> affinity <br/> Android: taskaffinity <br/> kinship of the activity, by default, the activity in the same application has the same relationship <br/> activity <br/> Android: Theme <br/> the style topic of the activity. If not set, the theme style of the activity belongs to the application. For more information, see <Application> theme attributes of the element <br/> examples <br/> Android: windowsoftinputmode <br/> interaction mode between the activity main window and the keyboard, introduced since API level 3 

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.