- x
- the new x location
- y
- the new y location
- width
- the new width, can be -1 to ignore
- height
- the new height, can be -1 to ignore
- force
- reposition the window even if the specified position already seems to correspond to the LayoutParams
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.