Example #1
0
        private void init(Context context)
        {
            scrollListener = new MyScrollListener(this);

            Orientation = Orientation.Horizontal;
            SetClipChildren(false);
            LayoutInflater inflater = LayoutInflater.FromContext(context);

            inflater.Inflate(Resource.Layout.FastScroller, this, true);

            bubble            = FindViewById <TextView>(Resource.Id.fastscroller_bubble);
            handle            = FindViewById <View>(Resource.Id.fastscroller_handle);
            bubble.Visibility = ViewStates.Invisible;
        }
Example #2
0
        private void init(Context context)
        {
            scrollListener = new MyScrollListener(this);

            Orientation = Orientation.Horizontal;
            SetClipChildren(false);
            LayoutInflater inflater = LayoutInflater.FromContext(context);
            inflater.Inflate(Resource.Layout.FastScroller, this, true);

            bubble = FindViewById<TextView>(Resource.Id.fastscroller_bubble);
            handle = FindViewById<View>(Resource.Id.fastscroller_handle);
            bubble.Visibility = ViewStates.Invisible;
        }