View.ForceHasOverlappingRendering(Boolean) Method

Definition

Sets the behavior for overlapping rendering for this view (see #hasOverlappingRendering() for more details on this behavior).

[Android.Runtime.Register("forceHasOverlappingRendering", "(Z)V", "GetForceHasOverlappingRendering_ZHandler", ApiSince=24)]
public virtual void ForceHasOverlappingRendering (bool hasOverlappingRendering);
[<Android.Runtime.Register("forceHasOverlappingRendering", "(Z)V", "GetForceHasOverlappingRendering_ZHandler", ApiSince=24)>]
abstract member ForceHasOverlappingRendering : bool -> unit
override this.ForceHasOverlappingRendering : bool -> unit

Parameters

hasOverlappingRendering
Boolean

The value for overlapping rendering to be used internally instead of that returned by #hasOverlappingRendering().

Attributes

Remarks

Sets the behavior for overlapping rendering for this view (see #hasOverlappingRendering() for more details on this behavior). Calling this method is an alternative to overriding #hasOverlappingRendering() in a subclass, providing the value which is then used internally. That is, when #forceHasOverlappingRendering(boolean) is called, the value of #hasOverlappingRendering() is ignored and the value passed into this method is used instead.

Java documentation for android.view.View.forceHasOverlappingRendering(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