2
我創建了一個TabHost,並在標籤中1,我已經添加使用如何切換
mTabHost.addTab(mTabHost.newTabSpec("tab1")
.setIndicator(getString(R.string.dialerIconLabel),
getResources().getDrawable(R.drawable.ic_tab_dialer))
.setContent(intent));
內容的選項卡中Tabhost內容的活動是否有可能對我來說,切換內容的活動之後,我稱爲'TabHost的addTab'編程方式?
謝謝。
這是否意味着我調用多個setContent()(每個具有不同的視圖)將不起作用? – hap497 2009-12-08 06:44:15
據我所知,多個TabHost.TabSpec#setContent()調用將不起作用。 – CommonsWare 2009-12-08 09:32:42
所以這個問題仍然沒有答案? – Mikey 2011-06-28 12:04:10