Share via


Activity.SetFinishOnTouchOutside(Boolean) Method

Definition

Sets whether this activity is finished when touched outside its window's bounds.

[Android.Runtime.Register("setFinishOnTouchOutside", "(Z)V", "GetSetFinishOnTouchOutside_ZHandler")]
public virtual void SetFinishOnTouchOutside (bool finish);
[<Android.Runtime.Register("setFinishOnTouchOutside", "(Z)V", "GetSetFinishOnTouchOutside_ZHandler")>]
abstract member SetFinishOnTouchOutside : bool -> unit
override this.SetFinishOnTouchOutside : bool -> unit

Parameters

finish
Boolean
Attributes

Remarks

Sets whether this activity is finished when touched outside its window's bounds.

Java documentation for android.app.Activity.setFinishOnTouchOutside(boolean).

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.

Applies to