android:change tab style and height in android?
tabHost.addTab(tabHost.newTabSpec(LIST1_TAB_TAG).setIndicator(LIST1_TAB_TAG).setContent(new TabContentFactory() {
public View createTabContent(String arg0) {
return listView1;
}
}));
tabHost.addTab(tabHost.newTabSpec(LIST2_TAB_TAG).setIndicator(LIST2_TAB_T开发者_如何学运维AG).setContent(new TabContentFactory() {
public View createTabContent(String arg0) {
return listView2;
}
}));
please Help
Regards AugustineIf you are looking for custom tabs, this might help.
Creating tabs programatically
Creating tabs through xml
精彩评论