Android.App.ApplicationAttribute Class
Generates a /manifest/application element within AndroidManifest.xml.

See Also: ApplicationAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.All, AllowMultiple=false, Inherited=false)]
public sealed class ApplicationAttribute : Attribute

Remarks

The //application element is used to declare an application. The Android.App.ApplicationAttribute custom attribute is used by monodroid.exe when generating AndroidManifest.xml to to declaratively generate the //application element.

This is an assembly-level attribute.

The following usage:

C# Example

[assembly: Application (
		Debuggable=true, 
		Label="insert label here", 
		ManageSpaceActivity=typeof(Mono.Samples.Hello.HelloActivity))]

results in the following XML fragment

XML Example

<application android:debuggable="true"
    android:label="insert label here" 
    android:manageSpaceActivity="mono.samples.HelloApp" />

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0