Udostępnij za pośrednictwem


DisplayCutout.WaterfallInsets Property

Definition

Returns the insets representing the curved areas of a waterfall display.

public Android.Graphics.Insets WaterfallInsets { [Android.Runtime.Register("getWaterfallInsets", "()Landroid/graphics/Insets;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getWaterfallInsets", "()Landroid/graphics/Insets;", "", ApiSince=30)>]
member this.WaterfallInsets : Android.Graphics.Insets

Property Value

the insets for the curved areas of a waterfall display in pixels or Insets.NONE if there are no curved areas or they don't overlap with the window.

Attributes

Remarks

Returns the insets representing the curved areas of a waterfall display.

A waterfall display has curved areas along the edges of the screen. Apps should be careful when showing UI and handling touch input in those insets because the curve may impair legibility and can frequently lead to unintended touch inputs.

Java documentation for android.view.DisplayCutout.getWaterfallInsets().

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