tabhost

	for (int i =0; i < tabWidget.getChildCount(); i++) {
//            tabWidget.setBackgroundColor(Color.WHITE);
			tabWidget.setBackgroundResource(R.drawable.bg);
//                tabWidget.getChildAt(i).getLayoutParams().height = 50;
                 TextView tv = (TextView) tabWidget.getChildAt(i).findViewById(android.R.id.title);
	                tv.setTextColor(Color.BLACK);
	                tv.setTextSize(18);
	                tv.setHighlightColor(Color.BLUE);
	               
               // .rgb(49, 116, 171)
    }

你可能感兴趣的:(tabhost)