0
如何自動更改tabhost選項卡的名稱?在tabhost設置文本 - Android
TabHost tmp = (TabHost) findViewById(R.id.tabhost);
tmp.getTabWidget().getChildAt(0).findViewById(android.R.id.title).setText("Test");
SetText(string)
未定義爲文本視圖,爲什麼?
感謝
請告訴我一下如果我們需要兩個textviews作爲TI標籤?像http://imgur.com/9ekZ4qc –