Are the “GONE” views inflated?

后端 未结 1 1884
南笙
南笙 2021-01-04 02:00

I have a huge XML layout, with many Relative / Linear layouts, and what I\'m doing now is to hide all the layouts I don\'t need with setVisibility (View.G

相关标签:
1条回答
  • 2021-01-04 02:30

    are the layouts inflated

    Yes.

    and rendered

    No. They are part of the view hierarchy but are ignored in the rendering passes.

    0 讨论(0)
提交回复
热议问题