widget -tabHost-火种助手顶下的效果

widget ----tabHost--火种助手顶上的效果final TabHost tabHost getTabHost()tabHost.addTab(tabHost.n

widget ----tabHost--火种助手顶上的效果

  final TabHost tabHost = getTabHost();        tabHost.addTab(tabHost.newTabSpec("tab1")                .setIndicator("list")                .setContent(new Intent(this, List1.class))); //使得下面关联另外一个界面        tabHost.addTab(tabHost.newTabSpec("tab2")                .setIndicator("photo list")                .setContent(new Intent(this, List8.class)));tabHost.addTab(tabHost.newTabSpec("tab1")                .setIndicator("tab1", getResources().getDrawable(R.drawable.star_big_on))//这里可以加图片                .setContent(this));//load到当前acitivy