/** Header, Footer, Content positions will be adjusted according to page properties: * <br> contentCentered, contentHeightPercent, pseudoFixedToolbars, ... **/ public void refreshPartsPositioning() { processFixedToolbars(); recalcContentHeightPercent(); centerContent(); }
/** Header, Footer, Content positions will be adjusted according to page properties: * <br> contentCentered, contentHeightPercent, pseudoFixedToolbars, ... **/ public void refreshPartsPositioning() { processFixedToolbars(); recalcContentHeightPercent(); centerContent(); }
/** Header, Footer, Content positions will be adjusted according to page properties: * <br> contentCentered, contentHeightPercent, pseudoFixedToolbars, ... **/ public void refreshPartsPositioning() { processFixedToolbars(); if (stopPartsPositioning) return; recalcContentHeightPercent(); centerContent(); }
/** * Fixed Header and Footer will be hidden if content area height percent is below * than specified percent of window height (default is 50%). * <br> Useful in cases with activated virtual keyboard, especially on Android. */ public void setHideFixedToolbarsIfContentAreaPercentBelow(double value) { double oldVal = hideFixedToolbarsIfContentAreaPercentBelow; hideFixedToolbarsIfContentAreaPercentBelow = value; if (oldVal != hideFixedToolbarsIfContentAreaPercentBelow && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); } }
/** * Fixed Header and Footer will be hidden if content area height percent is below * than specified percent of window height (default is 50%). * <br> Useful in cases with activated virtual keyboard, especially on Android. */ public void setHideFixedToolbarsIfContentAreaPercentBelow(double value) { double oldVal = hideFixedToolbarsIfContentAreaPercentBelow; hideFixedToolbarsIfContentAreaPercentBelow = value; if (oldVal != hideFixedToolbarsIfContentAreaPercentBelow && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); } }
/** * Fixed Header and Footer will be hidden if content area height percent is below * than specified percent of window height (default is 50%). * <br> Useful in cases with activated virtual keyboard, especially on Android. */ public void setHideFixedToolbarsIfContentAreaPercentBelow(double value) { double oldVal = hideFixedToolbarsIfContentAreaPercentBelow; hideFixedToolbarsIfContentAreaPercentBelow = value; if (oldVal != hideFixedToolbarsIfContentAreaPercentBelow && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); } }
/** * Fixed Header and Footer will be hidden if virtual/on-screen keyboard is activated. * <br> This property is used as threshold(keyboard's height) in pixels * for keyboard detection (to work must be > 0, default is 0). */ public void setHideFixedToolbarsIfVirtualKeyboard(int value) { int oldVal = hideFixedToolbarsIfVirtualKeyboard; hideFixedToolbarsIfVirtualKeyboard = value; if (oldVal != hideFixedToolbarsIfVirtualKeyboard && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); if (hideFixedToolbarsIfVirtualKeyboard > 0) initOrientationChange(); } }
/** * Fixed Header and Footer will be hidden if virtual/on-screen keyboard is activated. * <br> This property is used as threshold(keyboard's height) in pixels * for keyboard detection (to work must be > 0, default is 0). */ public void setHideFixedToolbarsIfVirtualKeyboard(int value) { int oldVal = hideFixedToolbarsIfVirtualKeyboard; hideFixedToolbarsIfVirtualKeyboard = value; if (oldVal != hideFixedToolbarsIfVirtualKeyboard && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); if (hideFixedToolbarsIfVirtualKeyboard > 0) initOrientationChange(); } }
/** * Fixed Header and Footer will be hidden if virtual/on-screen keyboard is activated. * <br> This property is used as threshold(keyboard's height) in pixels * for keyboard detection (to work must be > 0, default is 0). */ public void setHideFixedToolbarsIfVirtualKeyboard(int value) { int oldVal = hideFixedToolbarsIfVirtualKeyboard; hideFixedToolbarsIfVirtualKeyboard = value; if (oldVal != hideFixedToolbarsIfVirtualKeyboard && content != null && content.isAttached()) { processFixedToolbars(); centerContent(); initWindowResize(); if (hideFixedToolbarsIfVirtualKeyboard > 0) initOrientationChange(); } }