Skip to content

Instantly share code, notes, and snippets.

@f2face
Created December 4, 2019 05:36
Show Gist options
  • Save f2face/e8e11247924872db111e86e784130474 to your computer and use it in GitHub Desktop.
Save f2face/e8e11247924872db111e86e784130474 to your computer and use it in GitHub Desktop.
Disable multi-touch in RecyclerView
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
...>
<androidx.recyclerview.widget.RecyclerView
...
android:splitMotionEvents="false" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment