MultiSlider icon indicating copy to clipboard operation
MultiSlider copied to clipboard

Customize rangeColor in runTime

Open danielgomes96 opened this issue 8 years ago • 4 comments

Hello,

<io.apptik.widget.MultiSlider android:id="@+id/sliderArea" android:layout_width="match_parent" android:layout_height="wrap_content" app:thumbNumber="2" app:scaleStep="10" app:rangeColor="@color/grey" android:layout_marginRight="@dimen/margin_16" android:layout_marginLeft="@dimen/margin_16" app:scaleMax="1000" app:stepsThumbsApart="1" app:drawThumbsApart="true" />

I would like to know if there's a method to change rangeColor in runtime, because atm, it can only be changed when compiling.

danielgomes96 avatar Dec 20 '17 21:12 danielgomes96

Hi @daniel0x7CC Look at in example of MultiSliderFragmentMany.java

bmx666 avatar Dec 21 '17 01:12 bmx666

I've just did it and it looks like a big black rectangle... https://imgur.com/hovBU8c

danielgomes96 avatar Dec 21 '17 16:12 danielgomes96

@daniel0x7CC You can see issues #47, #61, #64, #72

bmx666 avatar Dec 23 '17 20:12 bmx666

Hello i am newbie with android !!!

I am using above lib for selecting age range.I want to show different colors for Selected range and unselected range ?

Any help would be highly appreciated

Kalpesh Khandla

Kalpesh92 avatar Jul 30 '18 07:07 Kalpesh92