如何在选项卡中放置长滚动视图?这是我的代码:资源 ressources = getResources(); TabHost tabHost = getTabHost();
// Android tab
Intent intentAndroid = new Intent().setClass(this, ScrollActivity1.class);
TabSpec tabSpecAndroid = tabHost
.newTabSpec("Android")
.setIndicator("", ressources.getDrawable(R.drawable.tab_checkin))
.setContent(intentAndroid);
// Apple tab
Intent intentApple = new Intent().setClass(this, ScrollActivity2.class);
TabSpec tabSpecApple = tabHost
.newTabSpec("Apple")
.setIndicator("", ressources.getDrawable(R.drawable.tab_contatti))
.setContent(intentApple);