//修改tab标题
TextView textview = (TextView)getTabHost().getTabWidget().getChildAt(0).findViewById(android.R.id.title);
textview.setText("ABC");
//修改tab图标
ImageView iconview = (ImageView)getTabHost().getTabWidget().getChildAt(0).findViewById(android.R.id.icon);
iconview.setImageResource(...);
阅读(1239) | 评论(0) | 转发(0) |