Changelog History
Page 1
-
v2.2.2 Changes
November 10, 2020 -
v2.2.1 Changes
October 03, 2020๐ ๐ Released a new version
2.2.1
! ๐What's New?
โ Added some
AbstractSlider
attributes releated functionalties for customizingAlphaSlideBar
andBrightnessSlideBar
.- setSelectorDrawable(Drawable drawable)
- setSelectorDrawableRes(@DrawableRes int resource)
- setBorderColor(@ColorInt int color)
- setBorderColorRes(@ColorRes int resource)
- setBorderSize(int borderSize)
- setBorderSizeRes(@DimenRes int resource)
-
v2.2.0 Changes
September 03, 2020๐ ๐ 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.
0๏ธโฃ 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.
-
v2.1.9 Changes
August 22, 2020๐ ๐ 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);
- โ Added a palette drawable
-
v2.1.8 Changes
August 16, 2020๐ ๐ 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.
- ๐ Support vector drawable as a selectors image in
-
v2.1.7 Changes
July 11, 2020๐ ๐ Released a new version
2.1.7
! ๐What's New?
- ๐ Fixed debouncing internal logics.
- ๐ Changed to override
create()
function instead ofshow()
in theColorPickerDialog
. - ๐ Used
ViewBinding
instread offindViewById
for reducing overhead.
-
v2.1.6 Changes
December 14, 2019Implement 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. -
v2.1.5 Changes
June 14, 2019- ๐ fixed
selelcyByHsv
method - restoring saved data ways
- ๐ fixed
-
v2.1.4 Changes
May 29, 2019๐ fixed setSelectorPoint working incorrectly.
what methods affected?
- setSelectorPoint()
- selectCenter()
- selectByHsv()
-
v2.1.3 Changes
March 29, 2019- ๐ fixed AlphaSliderBar initialize view size after rotating device