I recently encountered the View.GONE attribute of layouts . I was working with linear layouts in vertical orientation . Within this linear layout , I had 2