【发布时间】:2011-07-22 08:10:23
【问题描述】:
我有以下代码:
\\Disable
tabHost.getTabWidget().getChildTabViewAt(3).setEnabled(false);
tabHost.getTabWidget().getChildTabViewAt(3).setBackgroundColor(Color.rgb(102, 102, 102));
还有:
\\Enable
tabHost.getTabWidget().getChildTabViewAt(3).setEnabled(true);
\\HOWTO?
当我再次启用它时,如何将已禁用选项卡的颜色恢复为原始颜色(带有渐变和其他东西)?
【问题讨论】:
标签: android colors tabs android-tabhost