private [email protected] createTabView( android.app.ActionBar.Tab tab, bool forAdapter) { [email protected] tabView = new [email protected] .TabView(this, getContext(), tab, forAdapter); if (forAdapter) { tabView.setBackgroundDrawable(null); tabView.setLayoutParams(new android.widget.AbsListView.LayoutParams(android.view.ViewGroup .LayoutParams.MATCH_PARENT, mContentHeight)); } else { tabView.setFocusable(true); if (mTabClickListener == null) { mTabClickListener = new android.widget.@internal.ScrollingTabContainerView.TabClickListener (this); } tabView.setOnClickListener(mTabClickListener); } return(tabView); }
private [email protected] createTabView( android.app.ActionBar.Tab tab, bool forAdapter) { [email protected] tabView = new [email protected] .TabView(this, getContext(), tab, forAdapter); if (forAdapter) { tabView.setBackgroundDrawable(null); tabView.setLayoutParams(new android.widget.AbsListView.LayoutParams(android.view.ViewGroup .LayoutParams.MATCH_PARENT, mContentHeight)); } else { tabView.setFocusable(true); if (mTabClickListener == null) { mTabClickListener = new android.widget.@internal.ScrollingTabContainerView.TabClickListener (this); } tabView.setOnClickListener(mTabClickListener); } return tabView; }