我也遇到了同样的问题...并找到了以下解决方案,
解决方案- 调整你的拇指和层列表..
创建custom_thumb.xml(在你的drawable文件夹中)。
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:width="50dp"
android:height="50dp"
android:top="35dp"
android:bottom="35dp"
android:drawable="@drawable/thumb"/>
</layer-list>
根据您的需要调整宽度、高度、顶部和底部。
使用以下代码设置拇指。
android:thumb="@drawable/custom_thumb"