Skip to content

Releases: skydoves/ColorPickerView

2.3.0

02 Oct 11:48
4883003
Compare
Choose a tag to compare

What's Changed

  • Configure Gradle properties by @skydoves in #89
  • Fix slidebars going out of bounds and twitching + fix dialog in demo app by @Ultron55 in #97
  • Bump AGP to 7.4.2 and Gradle to 7.6.1 and apply spotless by @skydoves in #98
  • Increment min sdk to 17 by @skydoves in #99
  • Bump AGP, Kotlin, Gradle and androidx dependencies by @skydoves in #105
  • Introduce dependabot to keep repo up to date by @hannesa2 in #94
  • Bump actions/checkout from 3.1.0 to 4.1.0 by @dependabot in #106
  • Bump actions/setup-java from 3.5.1 to 3.13.0 by @dependabot in #107
  • Migrate maven publication scripts by @skydoves in #108
  • Introduce baseline profiles by @skydoves in #109
  • Refactor fireColorListener to notify colors even if the color listener is not set by @skydoves in #110
  • Apply resource prefix for Android resources by @skydoves in #111
  • Implement isFlipped method on FlagView by @skydoves in #112

New Contributors

Full Changelog: 2.2.4...2.3.0

2.2.4

25 Nov 13:10
bb05f3e
Compare
Choose a tag to compare

🎉 Released a new version 2.2.4! 🎉

What's Changed

New Contributors

Full Changelog: 2.2.3...2.2.4

2.2.3

18 Feb 15:34
58e2ed6
Compare
Choose a tag to compare

🎉 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

10 Nov 16:55
b5c1a41
Compare
Choose a tag to compare

🎉 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

03 Oct 07:06
21d6252
Compare
Choose a tag to compare

🎉 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

03 Sep 11:45
6ad26a1
Compare
Choose a tag to compare

🎉 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

22 Aug 04:34
be1a743
Compare
Choose a tag to compare

🎉 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

16 Aug 16:30
397be0e
Compare
Choose a tag to compare

🎉 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

11 Jul 16:42
1751679
Compare
Choose a tag to compare

🎉 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

14 Dec 10:32
edf2ed6
Compare
Choose a tag to compare

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.