Skip to content

m-vytoshko/CarouselColorPicker

Repository files navigation

CarouselColorPicker

Latest version

Also available for iOS:

Implementation

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
	...
        maven { url 'https://jitpack.io' }
    }
}

Add the dependency

implementation("com.github.m-vytoshko:CarouselColorPicker:latestVersion")

Customization

To change colors:

Implement IPalette

To draw different selection cursor:

Implement IndicatorPainter

Set number of shadows:

 <com.mv.colorpicker.ColorPickerView
        ...
        app:shadesCount="5" />
Set shadow darkening step:

 <com.mv.colorpicker.ColorPickerView
        ...
        app:shadeRatio="0.05" />

About

Simple CarouselColorPicker view for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages