ColorSlider
Horizontal and Vertical color sliding control for android.
Dependencies
Gradle
compile 'com.in.viswanathankp.colorslider:colorslider:1.0.0'
#Usage Add click listener for color slider control
colorSlider = (ColorSlider) findViewById(R.id.horizontal_slider);
mColorView = findViewById(R.id.color_view);
mVerticalSlider = (ColorSlider) findViewById(R.id.vertical_slider);
mVerticalColorView = findViewById(R.id.color_view_vertical);
colorSlider.setOnColorChangedListener(new ColorSlider.OnColorChangedListener() {
@Override
public void OnColorChanged(int color) {
mColorView.setBackgroundColor(color);
}
});