Code example for PopupWindow

Methods: getInputMethodMode

0
    public boolean isShowing() { 
        return mPopup.isShowing();
    } 
 
    private boolean isInputMethodNotNeeded() { 
        return mPopup.getInputMethodMode() == PopupWindow.INPUT_METHOD_NOT_NEEDED;
    } 
 
    public ListView getListView() {
        return mDropDownList;
    } 
 
    private int buildDropDown() { 
        ViewGroup dropDownView;
        int otherHeights = 0;
 
        if (mDropDownList == null) {
            Context context = mContext;
 
            mDropDownList = new DropDownListView(context, !mModal);
            if (mDropDownListHighlight != null) {