PopupWindow

Class of android.widget · PopupWindow.java · Android's reference

public class PopupWindow

A window over the app, next to an anchor view or at a place on the screen: a window of its own, as Android's, added to the window manager on the anchor's window token. Its content goes in a frame that draws the background and dismisses the popup on the back key and on a touch outside it.

Nested types

Page 1 2

Fields

public static final int INPUT_METHOD_FROM_FOCUSABLE = 0 source
public static final int INPUT_METHOD_NEEDED = 1 source
public static final int INPUT_METHOD_NOT_NEEDED = 2 source

Constructors

Methods

public void setEnterTransition(Transition enterTransition) source
public Transition getEnterTransition() source
public void setExitTransition(Transition exitTransition) source
public Transition getExitTransition() source
public void setEpicenterBounds(Rect bounds) source
public Rect getEpicenterBounds() source
public Drawable getBackground() source
public void setBackgroundDrawable(Drawable background) source
public float getElevation() source
public void setElevation(float elevation) source
public int getAnimationStyle() source
public void setAnimationStyle(int animationStyle) source
public View getContentView() source
public void setContentView(View contentView) source
public void setTouchInterceptor(View.OnTouchListener l) source
public boolean isFocusable() source
public void setFocusable(boolean focusable) source
public int getInputMethodMode() source
public void setInputMethodMode(int mode) source
public void setSoftInputMode(int mode) source
public int getSoftInputMode() source
public boolean isTouchable() source
public void setTouchable(boolean touchable) source
public boolean isOutsideTouchable() source
public void setOutsideTouchable(boolean touchable) source
public boolean isClippingEnabled() source
public void setClippingEnabled(boolean enabled) source
public void setIsClippedToScreen(boolean enabled) source
public boolean isClippedToScreen() source
public void setOverlapAnchor(boolean overlapAnchor) source
public boolean getOverlapAnchor() source
public void setTouchModal(boolean touchModal) source
public boolean isTouchModal() source
public void setWindowLayoutType(int layoutType) source
public int getWindowLayoutType() source
public int getHeight() source
public void setHeight(int height) source
public int getWidth() source
public void setWidth(int width) source

Page 1 2


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.