类 EaseMessageMenuPopupWindow


  • public class EaseMessageMenuPopupWindow
    extends android.widget.PopupWindow
    • 字段概要

      • 从类继承的字段 android.widget.PopupWindow

        INPUT_METHOD_FROM_FOCUSABLE, INPUT_METHOD_NEEDED, INPUT_METHOD_NOT_NEEDED
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void dismiss()  
      android.content.Context getContext()  
      int getNavBarHeight​(android.content.Context context)  
      int getNavigationBarHeight​(android.content.Context context)  
      float getScreenHeight​(android.content.Context context)  
      float getScreenWidth​(android.content.Context context)  
      void setBackgroundAlpha​(float alpha)
      set background transparency
      void setBackgroundDrawable​(android.graphics.drawable.Drawable background)  
      void setContentView​(android.view.View contentView)  
      void setOutsideTouchable​(boolean touchable)  
      void setViewLayoutParams​(android.view.View view, int nWidth, int nHeight)  
      void showAsDropDown​(android.view.View anchor)  
      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 parent, int gravity, int x, int y)  
      • 从类继承的方法 android.widget.PopupWindow

        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, setClippingEnabled, setElevation, setEnterTransition, setEpicenterBounds, setExitTransition, setFocusable, setHeight, setIgnoreCheekPress, setInputMethodMode, setIsClippedToScreen, setIsLaidOutInScreen, setOnDismissListener, setOverlapAnchor, setSoftInputMode, setSplitTouchEnabled, setTouchable, setTouchInterceptor, setTouchModal, setWidth, setWindowLayoutMode, setWindowLayoutType, update, update, update, update, update, update
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • EaseMessageMenuPopupWindow

        public EaseMessageMenuPopupWindow​(android.content.Context context)
      • EaseMessageMenuPopupWindow

        public EaseMessageMenuPopupWindow​(android.content.Context context,
                                          boolean closeChangeBg)
        The second parameter is to change the background color
        参数:
        context -
        closeChangeBg - whether to change the background color
    • 方法详细资料

      • setBackgroundAlpha

        public void setBackgroundAlpha​(float alpha)
        set background transparency
        参数:
        alpha -
      • setOutsideTouchable

        public void setOutsideTouchable​(boolean touchable)
        覆盖:
        setOutsideTouchable 在类中 android.widget.PopupWindow
      • setBackgroundDrawable

        public void setBackgroundDrawable​(android.graphics.drawable.Drawable background)
        覆盖:
        setBackgroundDrawable 在类中 android.widget.PopupWindow
      • setContentView

        public void setContentView​(android.view.View contentView)
        覆盖:
        setContentView 在类中 android.widget.PopupWindow
      • getContext

        public android.content.Context getContext()
      • showAtLocation

        public void showAtLocation​(android.view.View parent,
                                   int gravity,
                                   int x,
                                   int y)
        覆盖:
        showAtLocation 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor,
                                   int xoff,
                                   int yoff)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • showAsDropDown

        public void showAsDropDown​(android.view.View anchor,
                                   int xoff,
                                   int yoff,
                                   int gravity)
        覆盖:
        showAsDropDown 在类中 android.widget.PopupWindow
      • dismiss

        public void dismiss()
        覆盖:
        dismiss 在类中 android.widget.PopupWindow
      • getNavBarHeight

        public int getNavBarHeight​(android.content.Context context)
      • getScreenWidth

        public float getScreenWidth​(android.content.Context context)
      • getScreenHeight

        public float getScreenHeight​(android.content.Context context)
      • getNavigationBarHeight

        public int getNavigationBarHeight​(android.content.Context context)
      • setViewLayoutParams

        public void setViewLayoutParams​(android.view.View view,
                                        int nWidth,
                                        int nHeight)