diff --git a/src/Uno.UI/UI/Xaml/Input/PointerRoutedEventArgs.Android.cs b/src/Uno.UI/UI/Xaml/Input/PointerRoutedEventArgs.Android.cs index 5274cc6d8b51..9594bdcf5565 100644 --- a/src/Uno.UI/UI/Xaml/Input/PointerRoutedEventArgs.Android.cs +++ b/src/Uno.UI/UI/Xaml/Input/PointerRoutedEventArgs.Android.cs @@ -176,7 +176,8 @@ private PointerPointProperties GetProperties(MotionEventToolType type, MotionEve break; } - if (updates.TryGetValue(_nativeEvent.ActionButton, out var update)) + if (Android.OS.Build.VERSION.SdkInt >= BuildVersionCodes.M // ActionButton was introduced with API 23 (https://developer.android.com/reference/android/view/MotionEvent.html#getActionButton()) + && updates.TryGetValue(_nativeEvent.ActionButton, out var update)) { props.PointerUpdateKind = update; }