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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -