Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize rangeColor in runTime #73

Open
danielgomes96 opened this issue Dec 20, 2017 · 4 comments
Open

Customize rangeColor in runTime #73

danielgomes96 opened this issue Dec 20, 2017 · 4 comments

Comments

@danielgomes96
Copy link

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.

@bmx666
Copy link
Contributor

bmx666 commented Dec 21, 2017

Hi @daniel0x7CC
Look at in example of MultiSliderFragmentMany.java

@bmx666 bmx666 closed this as completed Dec 21, 2017
@danielgomes96
Copy link
Author

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

@bmx666
Copy link
Contributor

bmx666 commented Dec 23, 2017

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

@bmx666 bmx666 reopened this Dec 23, 2017
@Kalpesh92
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants