Class XpAppCompatPopupWindow


  • public class XpAppCompatPopupWindow
    extends android.widget.PopupWindow
    • Nested Class Summary

      • Nested classes/interfaces inherited from class android.widget.PopupWindow

        android.widget.PopupWindow.OnDismissListener
    • Field Summary

      • Fields inherited from class android.widget.PopupWindow

        INPUT_METHOD_FROM_FOCUSABLE, INPUT_METHOD_NEEDED, INPUT_METHOD_NOT_NEEDED
    • 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
      void showAsDropDown​(android.view.View anchor, int xoff, int yoff)  
      void showAsDropDown​(android.view.View anchor, int xoff, int yoff, int gravity)  
      void showAtLocation​(android.view.View anchor, int gravity, int x, int y)  
      void update​(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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        showAtLocation in class android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(@NonNull
                                   android.view.View anchor,
                                   int xoff,
                                   int yoff)
        Overrides:
        showAsDropDown in class android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(@NonNull
                                   android.view.View anchor,
                                   int xoff,
                                   int yoff,
                                   int gravity)
        Overrides:
        showAsDropDown in class android.widget.PopupWindow
      • update

        public void update​(@NonNull
                           android.view.View anchor,
                           int xoff,
                           int yoff,
                           int width,
                           int height)
        Overrides:
        update in class android.widget.PopupWindow