public ScrollingTabContainerView(android.content.Context context) : base(context)
 {
     mVisAnimListener = new android.widget.@internal.ScrollingTabContainerView.VisibilityAnimListener
                            (this);
     setHorizontalScrollBarEnabled(false);
     android.content.res.TypedArray a = getContext().obtainStyledAttributes(null, [email protected]
                                                                            .styleable.ActionBar, [email protected], 0);
     setContentHeight(a.getLayoutDimension([email protected]_height
                                           , 0));
     a.recycle();
     mTabLayout = createTabLayout();
     addView(mTabLayout, new android.view.ViewGroup.LayoutParams(android.view.ViewGroup
                                                                 .LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
 }
Ejemplo n.º 2
0
		public ScrollingTabContainerView(android.content.Context context) : base(context)
		{
			mVisAnimListener = new android.widget.@internal.ScrollingTabContainerView.VisibilityAnimListener
				(this);
			setHorizontalScrollBarEnabled(false);
			android.content.res.TypedArray a = getContext().obtainStyledAttributes(null, [email protected]
				.styleable.ActionBar, [email protected], 0);
			setContentHeight(a.getLayoutDimension([email protected]_height
				, 0));
			a.recycle();
			mTabLayout = createTabLayout();
			addView(mTabLayout, new android.view.ViewGroup.LayoutParams(android.view.ViewGroup
				.LayoutParams.WRAP_CONTENT, android.view.ViewGroup.LayoutParams.MATCH_PARENT));
		}