ColorPickerView icon indicating copy to clipboard operation
ColorPickerView copied to clipboard

How to make the selector slide no more than the ColorPickerView?

Open hexianqiao3755 opened this issue 3 years ago • 1 comments

@skydoves Hi, Can the selector slide to no more than ColorPickerView? image image

hexianqiao3755 avatar Dec 10 '21 03:12 hexianqiao3755

Hey @hexianqiao3755, Could you share the original images of your palette and selector?

skydoves avatar Dec 10 '21 12:12 skydoves

@skydoves Hi, could you let the selector stay inside of the circle palette boundary?

取色器

This is the original images of selector drawable. And I don't change palette's settings.

<shape xmlns:android="http://schemas.android.com/apk/res/android" android:innerRadius="11dp" android:shape="ring" android:thickness="2dp" android:useLevel="false">

<com.skydoves.colorpickerview.ColorPickerView android:id="@+id/colorPickerView" android:layout_width="140dp" android:layout_height="140dp" app:actionMode="last" app:selector="@drawable/selector_color" app:selector_size="30dp" android:layout_gravity="center" />

Deaful avatar Sep 22 '22 06:09 Deaful

Hey guys, sorry for the very delayed response. I don't have plans to resolve this programmatically, instead, you can use an image, which includes some paddings. Thanks for reporting this issue!

skydoves avatar Oct 02 '23 06:10 skydoves