protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.simple_underlines);

            mAdapter = new TestFragmentAdapter(SupportFragmentManager);

            mPager         = FindViewById <ViewPager>(Resource.Id.pager);
            mPager.Adapter = mAdapter;

            UnderlinePageIndicator indicator = FindViewById <UnderlinePageIndicator>(Resource.Id.indicator);

            indicator.SetViewPager(mPager);
            indicator.Fades = false;
            mIndicator      = indicator;
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.simple_underlines);

            mAdapter = new TestFragmentAdapter(SupportFragmentManager);

            mPager         = FindViewById <ViewPager>(Resource.Id.pager);
            mPager.Adapter = mAdapter;

            UnderlinePageIndicator indicator = FindViewById <UnderlinePageIndicator>(Resource.Id.indicator);

            mIndicator = indicator;
            indicator.SetViewPager(mPager);
            indicator.SelectedColor = Color.ParseColor("#FFCC0000");
            indicator.SetBackgroundColor(Color.ParseColor("#FFCCCCCC"));
            indicator.FadeDelay  = 1000;
            indicator.FadeLength = 1000;
        }