Udostępnij za pośrednictwem


IWindowInsetsController.Show(Int32) Method

Definition

Makes a set of windows that cause insets appear on screen.

[Android.Runtime.Register("show", "(I)V", "GetShow_IHandler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void Show (int types);
[<Android.Runtime.Register("show", "(I)V", "GetShow_IHandler:Android.Views.IWindowInsetsControllerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member Show : int -> unit

Parameters

types
Int32

A bitmask of WindowInsets.Type specifying what windows the app would like to make appear on screen.

Attributes

Remarks

Makes a set of windows that cause insets appear on screen.

Note that if the window currently doesn't have control over a certain type, it will apply the change as soon as the window gains control. The app can listen to the event by observing View#onApplyWindowInsets and checking visibility with WindowInsets#isVisible.

Java documentation for android.view.WindowInsetsController.show(int).

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