共用方式為


WindowManagerLayoutParams.FitInsetsSides Property

Definition

Specifies sides of insets that this window should avoid overlapping during layout.

public virtual int FitInsetsSides { [Android.Runtime.Register("getFitInsetsSides", "()I", "GetGetFitInsetsSidesHandler", ApiSince=30)] get; [Android.Runtime.Register("setFitInsetsSides", "(I)V", "GetSetFitInsetsSides_IHandler", ApiSince=30)] set; }
[<get: Android.Runtime.Register("getFitInsetsSides", "()I", "GetGetFitInsetsSidesHandler", ApiSince=30)>]
[<set: Android.Runtime.Register("setFitInsetsSides", "(I)V", "GetSetFitInsetsSides_IHandler", ApiSince=30)>]
member this.FitInsetsSides : int with get, set

Property Value

the sides that this window is avoiding overlapping.

Attributes

Remarks

Property getter documentation:

Java documentation for android.view.WindowManager.LayoutParams.getFitInsetsSides().

Property setter documentation:

Specifies sides of insets that this window should avoid overlapping during layout.

Java documentation for android.view.WindowManager.LayoutParams.setFitInsetsSides(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