Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在我的应用程序中使用了滚动视图。在滚动视图中,我采用了表格布局和几个表格行。现在我是隐形的,它是隐形的。但我的问题是在它变得不可见之后,该行下方的行将不会上升。它在两行之间留下空白空间。
您应该使布局消失而不是使其不可见
layout.setVisibility(LinearLayout.GONE);