WindowInsets.ReplaceSystemWindowInsets WindowInsets.ReplaceSystemWindowInsets Method

Definition

Overloads

ReplaceSystemWindowInsets(Int32, Int32, Int32, Int32) ReplaceSystemWindowInsets(Int32, Int32, Int32, Int32)

Returns a copy of this WindowInsets with selected system window insets replaced with new values.

ReplaceSystemWindowInsets(Rect) ReplaceSystemWindowInsets(Rect)

Returns a copy of this WindowInsets with selected system window insets replaced with new values.

ReplaceSystemWindowInsets(Int32, Int32, Int32, Int32) ReplaceSystemWindowInsets(Int32, Int32, Int32, Int32)

Returns a copy of this WindowInsets with selected system window insets replaced with new values.

[Android.Runtime.Register("replaceSystemWindowInsets", "(IIII)Landroid/view/WindowInsets;", "")]
public Android.Views.WindowInsets ReplaceSystemWindowInsets (int left, int top, int right, int bottom);
member this.ReplaceSystemWindowInsets : int * int * int * int -> Android.Views.WindowInsets

Parameters

left
Int32 Int32

New left inset in pixels

top
Int32 Int32

New top inset in pixels

right
Int32 Int32

New right inset in pixels

bottom
Int32 Int32

New bottom inset in pixels

Returns

Remarks

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.

ReplaceSystemWindowInsets(Rect) ReplaceSystemWindowInsets(Rect)

Returns a copy of this WindowInsets with selected system window insets replaced with new values.

[Android.Runtime.Register("replaceSystemWindowInsets", "(Landroid/graphics/Rect;)Landroid/view/WindowInsets;", "", ApiSince=21)]
public Android.Views.WindowInsets ReplaceSystemWindowInsets (Android.Graphics.Rect systemWindowInsets);
member this.ReplaceSystemWindowInsets : Android.Graphics.Rect -> Android.Views.WindowInsets

Parameters

systemWindowInsets
Rect Rect

New system window insets. Each field is the inset in pixels for that edge

Returns

Remarks

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