Android : Difference between View.GONE and View.INVISIBLE?

android, android-xml, xml-attribute

Solution

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.

Problem

What is the difference between `View.INVISIBLE` and `View.GONE` for the View visibility status?

Original source