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; }
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; }