public TabPageIndicator(Context context, IAttributeSet attrs)
            : base(context, attrs)
        {
            HorizontalScrollBarEnabled = false;

            mInflater = LayoutInflater.From(context);

            mTabLayout = new IcsLinearLayout(Context, Resource.Attribute.vpiTabPageIndicatorStyle);
            AddView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent));
        }
        public TabPageIndicator(Context context, IAttributeSet attrs)
            : base(context, attrs)
        {
            HorizontalScrollBarEnabled = false;

            mInflater = LayoutInflater.From(context);

            mTabLayout = new IcsLinearLayout(Context, Resource.Attribute.vpiTabPageIndicatorStyle);
            AddView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.WrapContent));
        }