TabHost图像和文本未显示

时间:2015-05-11 08:21:14

标签: android

TabHost.TabSpec allSpec = tabHost.newTabSpec(ALL_SERVICES);
allSpec.setIndicator("Hello World",getResources().getDrawable(R.drawable.icon_inbox));
intentServices = new Intent(this, InboxActivity.class);
allSpec.setContent(intentServices);
tabHost.add(allSpec);

0 个答案:

没有答案