for (int i = 0; i < tabHost.getTabWidget().getChildCount(); i++) {
View view = tabHost.getTabWidget().getChildAt(i);
view.setBackgroundDrawable(getResources().getDrawable(
R.drawable.tab_indicator));
}
修改tabhost中tab的背景
最新推荐文章于 2022-05-30 15:47:46 发布