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
Post a Comment