Android ecludeFromRecents, ecludefromrecents
Activity attribute settings
Android: allowTaskReparenting = ["true" | "false"]
Whether to allow the activity to change the subordinate task, such as switching from a short message task to a browser task.
Android: alwaysRetainTaskState = ["true" | "false"]
Whether to keep the status unchanged, such as switching back to home and then opening the activity again.
Android: clearTaskOnLaunch = ["true" "|" false "]
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.
Android: configChanges = [oneormoreof: "mcc" "mnc" "locale" "touchscreen" "keyboard" "keyboardHidden" "navigation" "orientation" "fontScale"]
When the configuration list is modified, whether to call the onConfigurationChanged () method, for example, "locale | navigation | orientation ".
Android: enabled = ["true" | "false"]
Can an activity be instantiated,
Android: excludeFromRecents = ["true" | "false"]
Whether it can be displayed in the list of recently opened activities
Android: exported = ["true" | "false"]
Whether activity can be called by other programs
Android: finishOnTaskLaunch = ["true" | "false"]
Whether to disable an opened activity. When the user restarts the task
Android: icon = "drawableresource"
Android: label = "stringresource"
Android: launchMode = ["multiple" | "singleTop" | "singleTask" | "singleInstance"]
Activity startup mode, "standard" "singleTop" "singleTask" "singleInstance". The first two are a group, and the last two are a group.
Android: multiprocess = ["true" | "false"]
Android: name = "string"
Android: noHistory = ["true" | "false"]
Whether to remove this activity when the user switches to another screen. This attribute is introduced in APIlevel3.
Android: permission = "string"
Android: process = "string"
The process name of an activity. 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
Run your program in multiple processes. If the attribute is assigned with a name starting with:, when this activity is running, a new
The process 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.
Android: screenOrientation = ["unspecified" | "user" | "behind" | "landscape" | "portrait" | "sensor" | "nonsensor"]
Activity display mode. "unspecified" Default Value: "landscape" landscape Painting mode. The width is greater than the height. "portrait" portrait mode, height ratio
The width is large. "User" user's settings "behind" "sensor" "nosensor"
Android: stateNotNeeded = ["true" | "false"]
Whether the activity is destroyed or restarted successfully is not saved
Android: taskAffinity = "string"
The kinship of the activity. By default, the activity in the same application has the same relationship.
Android: theme = "resourceortheme"
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.
Android: windowSoftInputMode = [oneormoreof: "stateUnspecified" "stateUnchanged" "stateHidden" "stateAlwaysHidden"
"StateVisible" "stateAlwaysVisible" "adjustUnspecified" "adjustResize" "adjustPan"]>
The interaction mode between the activity main window and the soft keyboard, which has been introduced since APIlevel3