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 编写简单的动画,所以我问你们中是否有人知道如何完全清理框架布局。
参考您的框架布局,然后调用removeAllViews()该布局。这应该清除所有视图的布局。
removeAllViews()