GlideSlider icon indicating copy to clipboard operation
GlideSlider copied to clipboard

Modify the color of an unselected indicator

Open AsueG opened this issue 4 years ago • 0 comments

Hi,

I would like to modify the color of the indicator when it's unselected.

It's in this code (PagerIndicator) :

int resColor = ContextCompat.getColor(context, R.color.glide_slider_indicator_color);
        int r = Color.red(resColor);
        int g = Color.green(resColor);
        int b = Color.blue(resColor);
        int mDefaultSelectedColor = attributes.getColor(R.styleable.PagerIndicator_selected_color, Color.rgb(r, g, b));
        int mDefaultUnSelectedColor = attributes.getColor(R.styleable.PagerIndicator_unselected_color, Color.argb(33, r, g, b));

Can you add a value like glide_slider_unselected_indicator_color ?

AsueG avatar Jun 29 '20 15:06 AsueG