public IconPageIndicator(Context context, IAttributeSet attrs)
            : base(context, attrs)
        {
            HorizontalScrollBarEnabled = false;
            //setHorizontalScrollBarEnabled(false);

            mIconsLayout = new IcsLinearLayout(context, R.Attribute.vpiIconPageIndicatorStyle);
            AddView(mIconsLayout, new LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.MatchParent, GravityFlags.Center));
        }
        public TabPageIndicator(Context context, IAttributeSet attrs)
            : base(context, attrs)
        {
            mTabClickListener = new TabClicker(this);
            HorizontalScrollBarEnabled = false;

            mTabLayout = new IcsLinearLayout(context, R.Attribute.vpiTabPageIndicatorStyle);
            AddView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WrapContent, ViewGroup.LayoutParams.MatchParent));
        }