0
我使用自定义背景为我的标签布局,但它显示不同的东西。作为 标签布局不显示,因为我想要
,但我想作为
和我的代码是
for(int i = 0; i < tabHost.getTabWidget().getChildCount(); i++) {
tabHost.getTabWidget().getChildAt(i).setBackgroundColor(Color.parseColor("#0079AD"));
((TextView) tabHost.getTabWidget().getChildAt(i).findViewById(android.R.id.title)).setTextColor(Color.parseColor("#8CD7F2"));
}
tabHost.getTabWidget().getChildAt(tabHost.getCurrentTab()).setBackgroundColor(Color.parseColor("#009ED6"));
我怎样才能解决这个问题?
但如果我使用这个如何实现选择器?请指导我。 – 2011-04-08 06:25:34