TabHost tab = (TabHost) findViewById(android.R.id.tabhost);
tab.addTab(tab.newTabSpec("Test1").setIndicator("Test1" , null).setContent(R.id.Test1));
布局中使用Tab,但是給Test1這頁里面的TextView setText設定內容,但是看不到內容,
請問這是什么原因?謝謝!
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/277213.html
標籤:Android
上一篇:libcore報錯,lib里面沒有這個包,應該下什么包AS
下一篇:android新手
