question: private int calculateMenuMargin ( ) { WindowManager wm = ( WindowManager ) getSystemService ( Context . WINDOW_SERVICE ) ; Display display = wm . getDefaultDisplay ( ) ; Point size = new Point ( ) ; display . getSize ( size ) ; int height = size . y ; return ( int ) Math . round ( height * MENU_MARGIN_RELATIVE_MODIFIER ) ; }
target:  Method that calculates space left for EditText when format text panel is Visible