Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android View Visibility GONE

Tags:

android

If i set a views visibility which as been inflated, to gone, will it Speed up my UI?

like image 406
Faisal Abid Avatar asked Sep 08 '09 09:09

Faisal Abid


2 Answers

It will speed up the actual drawing of the UI, because, well, you don't have to draw it anymore, but it will still be inflated and the inflation process will not be faster.

like image 140
Isaac Waller Avatar answered Oct 19 '22 21:10

Isaac Waller


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

like image 35
hocinao Avatar answered Oct 19 '22 22:10

hocinao