public int[] processOnMeasure(int widthMeasureSpec, int heightMeasureSpec) {
        if (mIsHide) {
            panelLayout.setVisibility(View.GONE);
            /*
             * The current frame will be visible nil.
             */
            widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.EXACTLY);
            heightMeasureSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.EXACTLY);
        }

        final int[] processedMeasureWHSpec = new int[2];
        processedMeasureWHSpec[0] = widthMeasureSpec;
        processedMeasureWHSpec[1] = heightMeasureSpec;

        return processedMeasureWHSpec;
    }
public int [ ] processOnMeasure ( int widthMeasureSpec , int heightMeasureSpec ) { if ( mIsHide ) { panelLayout . setVisibility ( View . GONE ) ; widthMeasureSpec = View . MeasureSpec . makeMeasureSpec ( 0 , View . MeasureSpec . EXACTLY ) ; heightMeasureSpec = View . MeasureSpec . makeMeasureSpec ( 0 , View . MeasureSpec . EXACTLY ) ; } final int [ ] processedMeasureWHSpec = new int [ 2 ] ; processedMeasureWHSpec [ 0 ] = widthMeasureSpec ; processedMeasureWHSpec [ 1 ] = heightMeasureSpec ; return processedMeasureWHSpec ; }
Handle Panel -> Keyboard.
<p/>
Process the {@link View#onMeasure(int, int)} for handling the case of Panel->Keyboard.

@return the processed measure-width-spec and measure-height-spec.
@see #handleHide()