次の方法で共有


WindowInsets.IsRound Property

Definition

Returns true if the associated window has a round shape.

public bool IsRound { [Android.Runtime.Register("isRound", "()Z", "")] get; }
[<get: Android.Runtime.Register("isRound", "()Z", "")>]
member this.IsRound : bool

Property Value

True if the window is round

Attributes

Remarks

Returns true if the associated window has a round shape.

A round window's left, top, right and bottom edges reach all the way to the associated edges of the window but the corners may not be visible. Views responding to round insets should take care to not lay out critical elements within the corners where they may not be accessible.

Java documentation for android.view.WindowInsets.isRound().

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