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.
可能重复: Activity 何时完成绘制本身?
我想了解当布局完成绘制自身及其所有子项时,有没有办法做到这一点?
您可以使您的视图(根节点)成为自定义视图 - 然后您可以覆盖 onDraw - 当到达其末尾时,应绘制所有视图