ITeye博客

tabhost

xihuan&java · 2011-06-30 21:14 · android · 移动开发 · Markdown


	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)
    }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。