我正在使用Action Bar 3个带有片段A、B、C的选项卡,想要最初禁用B、C标签页,我正在使用:
ActionBar.Tab tab2 = ab.newTab();
tab2.setText("PORT");
tab2.setTabListener(this);
tab2.setEnable(false);
但是它不允许我使用tab2.setEnable,有没有确切的方法来禁用它呢?
我正在使用Action Bar 3个带有片段A、B、C的选项卡,想要最初禁用B、C标签页,我正在使用:
ActionBar.Tab tab2 = ab.newTab();
tab2.setText("PORT");
tab2.setTabListener(this);
tab2.setEnable(false);