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.
是否有与 Java 面板等效的 Android?我需要具有固定大小的东西,我可以动态添加不同的视图。有这样的技术吗?
我基本上想要一个在 xml 代码中设置大小的空白区域,稍后我可以通过活动添加按钮。稍后添加的原因是按钮的数量和按钮的大小会变化很大,但仍需要填充该区域。
There isn't a JPanel class in Android but you can use layouts just as effectively. Check out this link.