Package net.xpece.android.support.widget
Class XpAppCompatPopupWindow
- java.lang.Object
-
- android.widget.PopupWindow
-
- net.xpece.android.support.widget.XpAppCompatPopupWindow
-
public class XpAppCompatPopupWindow extends android.widget.PopupWindow
-
-
Constructor Summary
Constructors Constructor Description XpAppCompatPopupWindow(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)XpAppCompatPopupWindow(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshowAsDropDown(android.view.View anchor, int xoff, int yoff)voidshowAsDropDown(android.view.View anchor, int xoff, int yoff, int gravity)voidshowAtLocation(android.view.View anchor, int gravity, int x, int y)voidupdate(android.view.View anchor, int xoff, int yoff, int width, int height)-
Methods inherited from class android.widget.PopupWindow
dismiss, getAnimationStyle, getBackground, getContentView, getElevation, getEnterTransition, getEpicenterBounds, getExitTransition, getHeight, getInputMethodMode, getMaxAvailableHeight, getMaxAvailableHeight, getMaxAvailableHeight, getOverlapAnchor, getSoftInputMode, getWidth, getWindowLayoutType, isAboveAnchor, isAttachedInDecor, isClippedToScreen, isClippingEnabled, isFocusable, isLaidOutInScreen, isOutsideTouchable, isShowing, isSplitTouchEnabled, isTouchable, isTouchModal, setAnimationStyle, setAttachedInDecor, setBackgroundDrawable, setClippingEnabled, setContentView, setElevation, setEnterTransition, setEpicenterBounds, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setIsClippedToScreen, setIsLaidOutInScreen, setOnDismissListener, setOutsideTouchable, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setTouchModal, setWidth, setWindowLayoutMode, setWindowLayoutType, showAsDropDown, update, update, update, update, update
-
-
-
-
Constructor Detail
-
XpAppCompatPopupWindow
public XpAppCompatPopupWindow(@NonNull android.content.Context context, @Nullable android.util.AttributeSet attrs, @AttrRes int defStyleAttr)
-
XpAppCompatPopupWindow
public XpAppCompatPopupWindow(@NonNull android.content.Context context, @Nullable android.util.AttributeSet attrs, @AttrRes int defStyleAttr, @StyleRes int defStyleRes)
-
-
Method Detail
-
showAtLocation
public void showAtLocation(@NonNull android.view.View anchor, int gravity, int x, int y)- Overrides:
showAtLocationin classandroid.widget.PopupWindow
-
showAsDropDown
public void showAsDropDown(@NonNull android.view.View anchor, int xoff, int yoff)- Overrides:
showAsDropDownin classandroid.widget.PopupWindow
-
showAsDropDown
public void showAsDropDown(@NonNull android.view.View anchor, int xoff, int yoff, int gravity)- Overrides:
showAsDropDownin classandroid.widget.PopupWindow
-
update
public void update(@NonNull android.view.View anchor, int xoff, int yoff, int width, int height)- Overrides:
updatein classandroid.widget.PopupWindow
-
-