ColorPickerView Versions Save

🎨 Android colorpicker for getting colors from any images by tapping on the desired color.

2.3.0

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/skydoves/ColorPickerView/compare/2.2.4...2.3.0

2.2.4

2 years ago

🎉 Released a new version 2.2.4! 🎉

What's Changed

New Contributors

Full Changelog: https://github.com/skydoves/ColorPickerView/compare/2.2.3...2.2.4

2.2.3

3 years ago

🎉 Release a new version 2.2.3! 🎉

What's New?

  • Added colorPickerDialog kotlin extension.
  • Fixed the wrong calculation for the restoring position of the HSVColorPalette. (#64)
  • Changed internal resources naming conventions.

2.2.2

3 years ago

🎉 Released a new version 2.2.2! 🎉

What's New?

  • Adds support for setting the enabled and disabled. (#59)
  • Incorrect restored positions of the sliders. (#60)
  • Changed some class's visibility as protect.
  • Updated internal Gradle build tool version to 4.1.0.

2.2.1

3 years ago

🎉 Released a new version 2.2.1! 🎉

What's New?

Added some AbstractSlider attributes releated functionalties for customizing AlphaSlideBar and BrightnessSlideBar.

  • setSelectorDrawable(Drawable drawable)
  • setSelectorDrawableRes(@DrawableRes int resource)
  • setBorderColor(@ColorInt int color)
  • setBorderColorRes(@ColorRes int resource)
  • setBorderSize(int borderSize)
  • setBorderSizeRes(@DimenRes int resource)

2.2.0

3 years ago

🎉 Released a new version 2.2.0! 🎉

What's New?

  • Added Initial color functionalities. We can set an initial color and set positions of selector and slideBars based on the initial color. This function will work only with a default HSV palette. If we set a preference name using the setPreferenceName method, this function will work only once.
app:initialColor="@color/colorPrimary"

Or we can use this method programmatically.

.setInitialColor(color);
.setInitialColorRes(R.color.colorPrimary);
  • Fixed the selector of the AlphaSlideBar is not working properly when we use selecyByHsv(color).
  • Added getAlpha() method for getting alpha value from the selected color.

2.1.9

3 years ago

🎉 Released a new version 2.1.9! 🎉

What's New?

  • Added a palette drawable ColorHsvPalette. ColorHsvPalette is a default drawable palette built by HSV (hue, saturation, value) color model for alternating representations of the RGB color model. If we don't set a custom palette drawable, the default palette will be the ColorHsvPalette.
  • Added selectByHsvColor(@ColorInt color) and selecyByHsvRes(@ColorRes resource) for selecting and moving the selector by a specific color.
  • Added setHsvPaletteDrawable() method for setting the palette to the ColorHsvPalette. This method can be used for changing as ColorHsvPalette from another palette drawable.
  • Added the BubbleFlag flag in library, so we can implement a bubble type FlagView fastly.
  • The selector was clipped at the end of the ColorPickerView, but now it is not clipped at the end of the view.
BubbleFlag bubbleFlag = new BubbleFlag(this);
bubbleFlag.setFlagMode(FlagMode.FADE);
colorPickerView.setFlagView(bubbleFlag);

2.1.8

3 years ago

🎉 Released a new version 2.1.8! 🎉

What's New?

  • Support vector drawable as a selectors image in ColorPickerView, AlphaSlideBar, BrightnessSlideBar.
  • Updated compile SDK version to 30.
  • Added selector_size attribute for resizing the selector's size.

2.1.7

3 years ago

🎉 Released a new version 2.1.7! 🎉

What's New?

  • Fixed debouncing internal logics.
  • Changed to override create() function instead of show() in the ColorPickerDialog.
  • Used ViewBinding instread of findViewById for reducing overhead.

2.1.6

4 years ago

Implement debounce.

debounce

Only emit a color to the listener if a particular timespan has passed without it emitting using the debounceDuration attribute. We can set the debounceDuration on our xml layout file.