Android : difference between invisible and gone?

Rob picture Rob · Jul 19, 2012 · Viewed 147.7k times · Source

What is the difference between invisible and gone for the View visibility status?

Answer

Iñigo picture Iñigo · Jul 19, 2012

INVISIBLE:

This view is invisible, but it still takes up space for layout purposes.

GONE:

This view is invisible, and it doesn't take any space for layout purposes.