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.
每当我在 android 中创建活动时,都会自动生成 XML 文件。如果我在 Java 代码中以编程方式进行布局,我可以删除它们吗?
当然......你可以做到。
看这个,布局。
因此,关于它,我们可以创建我们的 .xml 文件,然后添加到我们的Project中。