Releases: skydoves/ColorPickerView
Releases · skydoves/ColorPickerView
2.3.0
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
- @Ultron55 made their first contribution in #97
- @hannesa2 made their first contribution in #94
- @dependabot made their first contribution in #106
Full Changelog: 2.2.4...2.3.0
2.2.4
🎉 Released a new version 2.2.4
! 🎉
What's Changed
- added getSelector function by @Nishanth-Risor in #73
- Update: notify to flag view by @skydoves in #72
- Update dependencies by @skydoves in #79
- Bugfix: notify flag view when ActionMode is set to LAST by @janaltenhof in #81
New Contributors
- @Nishanth-Risor made their first contribution in #73
- @janaltenhof made their first contribution in #81
Full Changelog: 2.2.3...2.2.4
2.2.3
2.2.2
2.2.1
🎉 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
🎉 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 useselecyByHsv(color)
. - Added
getAlpha()
method for getting alpha value from the selected color.
2.1.9
🎉 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 theColorHsvPalette
. - Added
selectByHsvColor(@ColorInt color)
andselecyByHsvRes(@ColorRes resource)
for selecting and moving the selector by a specific color. - Added
setHsvPaletteDrawable()
method for setting the palette to theColorHsvPalette
. 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);