private void InitializeAnimationDuration(TypedArray attributes) { int animationDuration = attributes.GetInteger(Resource.Styleable.expandable_selector_animation_duration, DEFAULT_ANIMATION_DURATION); int expandInterpolatorId = attributes.GetResourceId(Resource.Styleable.expandable_selector_expand_interpolator, global::Android.Resource.Animation.AccelerateInterpolator); int collapseInterpolatorId = attributes.GetResourceId(Resource.Styleable.expandable_selector_collapse_interpolator, global::Android.Resource.Animation.DecelerateInterpolator); int containerInterpolatorId = attributes.GetResourceId(Resource.Styleable.expandable_selector_container_interpolator, global::Android.Resource.Animation.DecelerateInterpolator); this._expandableSelectorAnimator = new ExpandableSelectorAnimator(this, animationDuration, expandInterpolatorId, collapseInterpolatorId, containerInterpolatorId); }