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.
Page 1 2
public static final int INPUT_METHOD_FROM_FOCUSABLE = 0 sourcepublic static final int INPUT_METHOD_NEEDED = 1 sourcepublic static final int INPUT_METHOD_NOT_NEEDED = 2 sourcepublic PopupWindow(Context context) sourcepublic PopupWindow(Context context, AttributeSet attrs) sourcepublic PopupWindow(Context context, AttributeSet attrs, int defStyleAttr) sourcepublic PopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) empty body sourcepublic PopupWindow() sourcepublic PopupWindow(View contentView) sourcepublic PopupWindow(int width, int height) sourcepublic PopupWindow(View contentView, int width, int height) sourcepublic PopupWindow(View contentView, int width, int height, boolean focusable) sourcepublic void setEnterTransition(Transition enterTransition) sourcepublic Transition getEnterTransition() sourcepublic void setExitTransition(Transition exitTransition) sourcepublic Transition getExitTransition() sourcepublic void setEpicenterBounds(Rect bounds) sourcepublic Rect getEpicenterBounds() sourcepublic Drawable getBackground() sourcepublic void setBackgroundDrawable(Drawable background) sourcepublic float getElevation() sourcepublic void setElevation(float elevation) sourcepublic int getAnimationStyle() sourcepublic void setAnimationStyle(int animationStyle) sourcepublic View getContentView() sourcepublic void setContentView(View contentView) sourcepublic void setTouchInterceptor(View.OnTouchListener l) sourcepublic boolean isFocusable() sourcepublic void setFocusable(boolean focusable) sourcepublic int getInputMethodMode() sourcepublic void setInputMethodMode(int mode) sourcepublic void setSoftInputMode(int mode) sourcepublic int getSoftInputMode() sourcepublic boolean isTouchable() sourcepublic void setTouchable(boolean touchable) sourcepublic boolean isOutsideTouchable() sourcepublic void setOutsideTouchable(boolean touchable) sourcepublic boolean isClippingEnabled() sourcepublic void setClippingEnabled(boolean enabled) sourcepublic void setIsClippedToScreen(boolean enabled) sourcepublic boolean isClippedToScreen() sourcepublic void setOverlapAnchor(boolean overlapAnchor) sourcepublic boolean getOverlapAnchor() sourcepublic void setTouchModal(boolean touchModal) sourcepublic boolean isTouchModal() sourcepublic void setWindowLayoutType(int layoutType) sourcepublic int getWindowLayoutType() sourcepublic int getHeight() sourcepublic void setHeight(int height) sourcepublic int getWidth() sourcepublic void setWidth(int width) sourcePage 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.