Sharpnado.Tabs
Sharpnado.Tabs copied to clipboard
[MAUI] Configurable TouchEffect duration (Android RippleEffect)
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, ...) (?)