Android Guides | Samples

Android.App.ActivityAttribute.ClearTaskOnLaunch Property

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.

Syntax

public Boolean ClearTaskOnLaunch { get; set; }

Value

A Boolean specifying whether all activities will be removed on relaunch.

Remarks

The ClearTaskOnLaunch property is used to set the //activity/@android:clearTaskOnLaunch attribute value.

Requirements

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