If i set a views visibility which as been inflated, to gone, will it Speed up my UI?
+1
A:
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.
Isaac Waller
2009-09-08 15:14:47
I wonder if a view with visibility GONE is still taking part in the layouting process? i.e., does it measure its size and stuff? That would make it different from a ViewStub.
Matthias
2009-09-08 15:48:22
I would assume not, Android is pretty heavily optimized, but you never know.
Isaac Waller
2009-09-08 18:57:10
A GONE View is always ignored during layout.
Romain Guy
2010-05-28 17:33:12