public SlidingTabScrollView(Context context, IAttributeSet attrs, int defaultStyle) : base(context, attrs, defaultStyle)
        {
            HorizontalScrollBarEnabled = false;

            FillViewport = true;
            this.SetBackgroundColor(Android.Graphics.Color.Rgb(0xE5, 0xE5, 0xE5));

            mTitleOffset = (int)(TITLE_OFFSET_DIPS * Resources.DisplayMetrics.Density);

            mTabStrip = new SlidingTabStrip(context);
            this.AddView(mTabStrip, LayoutParams.MatchParent, LayoutParams.MatchParent);
        }
        public SlidingTabScrollView(Context context, IAttributeSet attrs, int defaultStyle)
            : base(context, attrs, defaultStyle)
        {
            //Disable the scroll bar
            HorizontalScrollBarEnabled = false;

            //Make sure the tab strips fill the view
            FillViewport = true;
            SetBackgroundColor(Color.Rgb(0xE5, 0xE5, 0xE5)); //Gray color

            _mTitleOffset = (int)(TitleOffsetDips * Resources.DisplayMetrics.Density);

            _mTabStrip = new SlidingTabStrip(context);
            AddView(_mTabStrip, ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent);
        }
        public SlidingTabScrollView(Context context, IAttributeSet attrs, int defaultStyle)
            : base(context, attrs, defaultStyle)
        {
            //Disable the scroll bar
            HorizontalScrollBarEnabled = false;

            //Make sure the tab strips fill the view
            FillViewport = true;
            SetBackgroundColor(Color.Rgb(0xE5, 0xE5, 0xE5)); //Gray color

            _mTitleOffset = (int) (TitleOffsetDips*Resources.DisplayMetrics.Density);

            _mTabStrip = new SlidingTabStrip(context);
            AddView(_mTabStrip, ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent);
        }