【发布时间】:2014-01-23 10:32:34
【问题描述】:
因为我正在使用带有片段 A、B、C 的操作栏 3 选项卡,所以我最初使用的是禁用 B、C
ActionBar.Tab tab2 = ab.newTab();
tab2.setText("PORT");
tab2.setTabListener(this);
tab2.setEnable(false);
但不允许我使用 tab2.setEnable 禁用它的确切方法是什么?
【问题讨论】:
-
操作栏中的选项卡没有“启用”或“禁用”。据我所知,您可以删除并重新添加它们。
-
你确定@amit singh
标签: android tabs android-actionbar