View localView = LayoutInflater.from(this).inflate(R.layout.tab_indicator, getTabWidget(), false); localView.getLayoutParams().height = 30;