ColorPickerView

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

APACHE-2.0 License

Stars
1.6K

Bot releases are hidden (Show)

ColorPickerView - 2.3.0 Latest Release

Published by skydoves about 1 year ago

What's Changed

New Contributors

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

ColorPickerView - 2.2.4

Published by skydoves almost 3 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

ColorPickerView - 2.2.3

Published by skydoves over 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.
ColorPickerView - 2.2.2

Published by skydoves almost 4 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.
ColorPickerView - 2.2.1

Published by skydoves about 4 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)
ColorPickerView - 2.2.0

Published by skydoves about 4 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.
ColorPickerView - 2.1.9

Published by skydoves about 4 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);
ColorPickerView - 2.1.8

Published by skydoves about 4 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.
ColorPickerView - 2.1.7

Published by skydoves over 4 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.
ColorPickerView - 2.1.6

Published by skydoves almost 5 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.

ColorPickerView - v2.1.5

Published by skydoves over 5 years ago

  • fixed selelcyByHsv method
  • restoring saved data ways
ColorPickerView - v2.1.4

Published by skydoves over 5 years ago

fixed setSelectorPoint working incorrectly.

what methods affected?

  • setSelectorPoint()
  • selectCenter()
  • selectByHsv()
ColorPickerView - v2.1.3

Published by skydoves over 5 years ago

  • fixed AlphaSliderBar initialize view size after rotating device
ColorPickerView - v2.1.2

Published by skydoves over 5 years ago

  • modified saving preference with null type check
  • FlagMode.Fade for flagView’s fadeIn-fadeOut effects
  • refactor PointMapper object creating an instance
ColorPickerView - v2.1.1

Published by skydoves over 5 years ago

Mapping a transparent field tapped by a user approximately.

ColorPickerView - v2.1.0

Published by skydoves over 5 years ago

  • Saving and Restoring ColorPickerView & ColorPickerDialog data
  • ColorPickerPreferenceManager
  • Saving automatically by lifecycleOwner
ColorPickerView - v2.0.3

Published by skydoves over 5 years ago

ColorPickerView - v2.0.2

Published by skydoves over 5 years ago

ColorPickerView - v2.0.1

Published by skydoves about 6 years ago

Fixed API 28 width bug

ColorPickerView - v2.0.0

Published by skydoves about 6 years ago

What's new in v2.0.0!

  • AlphaSlideBar
  • BrightnessSlideBar
  • ColorPickerDialog
  • FlagView
  • AlphaTileView
Package Rankings
Top 9.63% on Proxy.golang.org
Top 12.34% on Repo1.maven.org
Badges
Extracted from project README
Maven Central ColorPickerView
Related Projects