java - Hide View other than Gone -


does know if way hide view other view.gone , view.invisible?

if (isavailable) {         layout.setvisibility(view.visible);     } else {         layout.setvisibility(view.gone);     } 

i'm dynamically setting 1 fragment show , disappear in view , view.gone , view.invisible leave behind space, sometimes, , looks glitching fragments , action bar, making fragment content disappear.

there no other option hide view

you can use below parameters only

view.setvisibility(view.gone / view.visible / view.invisible) 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -