Android 单击复选框时如何删除复选框的触摸指针?

Android 单击复选框时如何删除复选框的触摸指针?,android,button,checkbox,android-recyclerview,radio-button,Android,Button,Checkbox,Android Recyclerview,Radio Button,我正在使用recyclerview,其中每行都有一些文本和一个复选框。当我点击列表视图时,它会勾选或取消勾选该复选框,但不幸的是,我在点击列表时得到了触摸指针动画。如何移除触摸指针?搜索了很多,但没有得到正确的答案。 下面是我的xml代码 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_

我正在使用recyclerview,其中每行都有一些文本和一个复选框。当我点击列表视图时,它会勾选或取消勾选该复选框,但不幸的是,我在点击列表时得到了触摸指针动画。如何移除触摸指针?搜索了很多,但没有得到正确的答案。

下面是我的xml代码

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="20dp"
    android:paddingBottom="10dp">

    <android.support.v7.widget.AppCompatCheckBox
        android:id="@+id/playlist_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:button="@null"
        android:checked="false"
        android:drawableLeft="@drawable/res_checked_checkbox"
        android:drawablePadding="20dp"
        android:textColor="@color/dark_white"
        android:gravity="center_vertical"
        android:fontFamily="@font/quicksand_medium"
        android:textSize="18sp"/>
</RelativeLayout>
holder.checkBox.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
        @Override
        public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            if(buttonView.isPressed()) {
                if (isChecked) {
                    updatePlaylist.videoAdded(playlistData.get(position).getId(), playlistData
                            .get(position).getName());
                } else {
                    updatePlaylist.videoRemoved(playlistData.get(position).getId());
                }
            }
        }
    });