Open vietnguyen312 opened 6 years ago
When I try to set left/right thumb with shape drawable xml, App crashes and raise following problem: Caused by: java.lang.ClassCastException: android.graphics.drawable.LayerDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
Here is my shape drawable xml: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">
<size android:width="10dp" android:height="10dp" /> <stroke android:width="1dp" android:color="@color/colorPrimary" />
When I try to set left/right thumb with shape drawable xml, App crashes and raise following problem: Caused by: java.lang.ClassCastException: android.graphics.drawable.LayerDrawable cannot be cast to android.graphics.drawable.BitmapDrawable
Here is my shape drawable xml: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval">