public PopupWindow (View contentView, int width, int height, boolean focusable)
Since: API Level 1
Create a new popup window which can display the contentView. The dimension of the window must be passed to this constructor.
The popup does not provide any background. This should be handled by the content view.
Parameters
contentView | the popup's content |
---|---|
width | the popup's width |
height | the popup's height |
focusable | true if the popup can be focused, false otherwise |
public PopupWindow (View contentView, int width, int height)
Since:
API Level 1
Create a new non focusable popup window which can display the contentView. The dimension of the window must be passed to this constructor.
The popup does not provide any background. This should be handled by the content view.
Parameters
contentView | the popup's content |
---|---|
width | the popup's width |
height | the popup's height |