Sharpnado.Tabs icon indicating copy to clipboard operation
Sharpnado.Tabs copied to clipboard

[MAUI] Configurable TouchEffect duration (Android RippleEffect)

Open get-flat opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Configurable TouchEffect: TapAnimation duration

Describe the solution you'd like XAML property i.e. similar to <syncEffectsView:SfEffectsView RippleAnimationDuration="800">

        public static readonly BindableProperty DurationProperty =
            BindableProperty.CreateAttached(
            propertyName: "Duration",
            typeof(double),
            typeof(TouchEffect),
            250, /* Android 250 / iOS 225 */
            propertyChanged: PropertyChanged
        );

Describe alternatives you've considered None

Additional context TouchEffectPlatform.cs Android: TapAnimation(duration: 250, _alpha, 0); (?) iOS: UIView.Animate(0.225, ...) (?)

get-flat avatar Jan 11 '23 19:01 get-flat