摘要:
private void updateTabHost(TabHost tabHost) { int count = tabHost.getTabWidget().getChildCount(); for (int i = 0; i < count; i++) { View view = tabHost.getTabWidget().getChildTabViewAt(i); int tabHeightPx = DisplayUtil.dp2px(this, 80 // tab高度,此处单位为dp,经过DisplayUtil... 阅读全文
摘要:
@Override public void onActivityCreated(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onActivityCreated(savedInstanceState); //txtTest = (TextView)getActivity().findViewById(R.id.textView1); //txtTest.setText("It's My F!"); ... 阅读全文