ApplicationAttribute ApplicationAttribute Class

Definition

Generates a /manifest/application element within AndroidManifest.xml.

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public sealed class ApplicationAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
type ApplicationAttribute = class
    inherit Attribute
    interface IJniNameProviderAttribute
Inheritance
ApplicationAttributeApplicationAttribute
Attributes
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

ApplicationAttribute() ApplicationAttribute()

Constructs and initializes a new ApplicationAttribute instance.

Properties

AllowBackup AllowBackup
AllowClearUserData AllowClearUserData

Whether or not users are given the option to remove user ata.

AllowTaskReparenting AllowTaskReparenting

Whether or not activities that the application defines can move from the task that started them to the task they have an affinity for when that task is next brought to the front.

BackupAgent BackupAgent

The type that implements the application's backup agent.

BackupInForeground BackupInForeground
Banner Banner
Debuggable Debuggable

Whether or not the application can be debugged.

Description Description

User-readable text about the application, longer and more descriptive than the application label.

DirectBootAware DirectBootAware
Enabled Enabled

Whether or not the Android system can instantiate components of the application.

ExtractNativeLibs ExtractNativeLibs
FullBackupContent FullBackupContent
FullBackupOnly FullBackupOnly
HardwareAccelerated HardwareAccelerated

Whether or not hardware-accelerated rendering should be enabled for all Activities and Views within this application.

HasCode HasCode

Whether or not the application contains any code.

Icon Icon

An icon representing the application.

KillAfterRestore KillAfterRestore

Whether the application should be terminated after its settings have been restored during a full-system restore operation.

Label Label

A user-readable label for the application.

LargeHeap LargeHeap

Whether or not the application should be created with a large Dalvik heap.

Logo Logo

The Android resource which contains the logo for the application as a hole, and for Activities which don't specify a logo.

ManageSpaceActivity ManageSpaceActivity

The Activity that the system can launch to let users manage the memory occupied by the application on the device.

Name Name

TODO: Not supported. The name of the class to that implements the application.

NetworkSecurityConfig NetworkSecurityConfig
Permission Permission

The name of a permission that clients must have to launch the application.

Persistent Persistent

Whether or not the application should remain running at all times.

Process Process

The name of the process in which the application should run.

RequiredAccountType RequiredAccountType
ResizeableActivity ResizeableActivity
RestoreAnyVersion RestoreAnyVersion
RestrictedAccountType RestrictedAccountType
RoundIcon RoundIcon
SupportsRtl SupportsRtl
TaskAffinity TaskAffinity

The task that the application has an affinity for.

Theme Theme

A reference to a style resource defining an overall theme for the application.

UiOptions UiOptions

Extra options for the application's UI.

UsesCleartextTraffic UsesCleartextTraffic
VMSafeMode VMSafeMode

Applies to