Wednesday, 29 July 2015

android layout GONE VS. INVISIBLE to hide a component on the page

if you want to hide a component on your page you can:




The difference is

intGONEThis view is invisible, and it doesn't take any space for layout purposes.
intINVISIBLEThis view is invisible, but it still takes up space for layout purposes.

1 comment: