Open deepakrokz opened 5 years ago
Hi @olidroide @hhoang @BraisGabin @mxl @artzmb ,
Please reply on this
Hi @deepakrokz sorry by delayed reply, actually I don't develop actively Android. I remember found a problem with the MinStart
values. Check this commit:
https://github.com/olidroide/crystal-range-seekbar/commit/cc2bcfa73ba7abd06495cb45258bf8512968c40b
Do you already download the source code? I could try to assist you with this ;) the problem the main maintainer doesn't merge new changes, and you must use one of forks with fixed problems.
Hi @olidroide , Thanks for getting back, I would like to tell you that MinStart is working fine but setting the radius for BubbleThumbSeekbar is not working programmatically. I have given the exact line of code I am trying to implement with.
If you can give it a try will be very helpful to resolve this problem.
Thanks once again
Hi @olidroide , Is there any update, I am still looking for your help.
Interestingly, it doesn't work for me on the BubbleThumbRangeSeekbar. Did you solve this @deepakrokz ?
Oh no, I thought I was using the BubbleThumbRangeSeekbar
, but in fact I'm using the CrystalRangeSeekbar
. I confirm as well that the corner radius doesn't work for me either in the CrystalRangeSeekbar
. No matter what value I set.
This is my sample code:
<com.crystal.crystalrangeseekbar.widgets.CrystalRangeSeekbar
android:id="@+id/lengthFilterSeekBar"
android:layout_width="100dp"
android:layout_height="wrap_content"
app:corner_radius="5"
app:bar_highlight_color="@color/colorPrimaryButton"
app:left_thumb_color="@color/RangeSeekBarPickColor"
app:right_thumb_color="@color/RangeSeekBarPickColor"
app:min_value="0"
app:max_value="200"
app:steps="2"/>
BubbleThumbSeekbar Hi @syedowaisali,
Thanks for providing such a useful library, I am facing some issue. When I am trying to change radius on runtime it's not working for BubbleThumbSeekbar, while it's working for BubbleThumbRangeSeekbar. This is the code which I am using, can you please help me to sort out this, it has been more than a week trying to resolve
motion_rangeSeekbar.setBarHighlightGradientStart(getResources().getColor(R.color.motion_start)) .setBarHighlightGradientEnd(getResources().getColor(R.color.motion_end)) .setCornerRadius(30f).setMinStartValue(30).apply();