Android.Widget.PopupWindow.Update Method

Syntax

[Android.Runtime.Register("update", "(Landroid/view/View;IIII)V", "GetUpdate_Landroid_view_View_IIIIHandler")]
public virtual void Update (Android.Views.View anchor, int xoff, int yoff, int width, int height)

Parameters

anchor
the popup's anchor view
xoff
x offset from the view's left edge
yoff
y offset from the view's bottom edge
width
the new width, can be -1 to ignore
height
the new height, can be -1 to ignore

Remarks

Updates the position and the dimension of the popup window. Width and height can be set to -1 to update location only. Calling this function also updates the window with the current popup state as described for PopupWindow.Update.

If the view later scrolls to move anchor to a different location, the popup will be moved correspondingly.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1