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
ApplicationAttribute
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()

Constructs and initializes a new ApplicationAttribute instance.

Properties

AllowBackup
AllowClearUserData

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

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

The type that implements the application's backup agent.

BackupInForeground
Banner
Debuggable

Whether or not the application can be debugged.

Description

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

DirectBootAware
Enabled

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

ExtractNativeLibs
FullBackupContent
FullBackupOnly
HardwareAccelerated

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

HasCode

Whether or not the application contains any code.

Icon

An icon representing the application.

KillAfterRestore

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

Label

A user-readable label for the application.

LargeHeap

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

Logo

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

ManageSpaceActivity

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

Name

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

NetworkSecurityConfig
Permission

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

Persistent

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

Process

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

RequiredAccountType
ResizeableActivity
RestoreAnyVersion
RestrictedAccountType
RoundIcon
SupportsRtl
TaskAffinity

The task that the application has an affinity for.

Theme

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

UiOptions

Extra options for the application's UI.

UsesCleartextTraffic
VMSafeMode

Applies to