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.
我会创建一个有两个选项的活动,当我单击该选项时,我的活动有一个布局,如果我单击另一个选项,我有另一个布局?任何人都可以建议我?我的问题只是开始之前的信息!
是的,只需调用setContentView设置或更改布局。
setContentView