📅  最后修改于: 2022-03-11 14:55:03.626000             🧑  作者: Mango
TabLayout tabLayout = (TabLayout) findViewById(R.id.tabs);
TabLayout.Tab tab = tabLayout.getTabAt(someIndex);
tab.select();