Why does a LinearLayout which is invisible take up space?

后端 未结 4 790
心在旅途
心在旅途 2021-02-05 09:10

I\'ve got the following LinearLayout...



        
4条回答
  •  北荒
    北荒 (楼主)
    2021-02-05 09:45

    invisible will take up the same space as if it were visible. Set the visibility to gone if you want it to take up no space.

提交回复
热议问题