ViewStructure.SetOpaque(Boolean) Method

Definition

Set the opaque state of this view, as per View#isOpaque View.isOpaque().

[Android.Runtime.Register("setOpaque", "(Z)V", "GetSetOpaque_ZHandler", ApiSince=26)]
public abstract void SetOpaque (bool opaque);
[<Android.Runtime.Register("setOpaque", "(Z)V", "GetSetOpaque_ZHandler", ApiSince=26)>]
abstract member SetOpaque : bool -> unit

Parameters

opaque
Boolean
Attributes

Remarks

Set the opaque state of this view, as per View#isOpaque View.isOpaque().

Java documentation for android.view.ViewStructure.setOpaque(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