Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
/manifest/application/activity element within
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)] [System.Serializable] public sealed class ActivityAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>] [<System.Serializable>] type ActivityAttribute = class inherit Attribute interface IJniNameProviderAttribute
Constructs and initializes a new ActivityAttribute instance.
Whether or not the activity can move from the tasdk that started it to the task it has an affinity for.
Whether or not the state of the task that the activity is in will always be maintained by the system.
Whether or not all activities will be removed from the task, except for the root activity, whenever it is re-launched from the home screen.
The configuration changes that the activity will handle itself.
Whether or not the activity can be instantiated by the system.
Whether or not the activity should be excluded from the list of recently launched activities.
Whether or not the activity can be launched by components of other applications.
Whether or not an existing instance of the activity should be shut down whenever the user again launches its task.
An icon representing the activity.
A user-readable label for the activity.
How the activity should be launched.
Whether or not the activity should be the main launcher for an application.
Whether an instance of the activity can be launched into the process of the component that started it.
The name of the class that implements the activity.
Whether or not the activity should be removed from the activity stack and finished when the user navigates away.
The name of a permission that clients must have to launch the activity.
The name of the process in which the activity should run.
The orientation of the activity's display on the device.
Whether or not the activity can be killed and successfully restarted without having saved its state.
The task that the activity has an affinity for.
A reference to a style resource defining an overall theme for the activity.
How the main window of the activity interacts with the window containing hte on-screen soft keyboard.