📅  最后修改于: 2022-03-11 14:52:23.496000             🧑  作者: Mango
switch(position) {
case 0:
setContentView(R.layout.xml0);
break;
case 1:
setContentView(R.layout.xml1);
break;
default:
setContentView(R.layout.default);
break;
}