oli107 / material-range-bar

Android widget for selecting a range of values.
Apache License 2.0
1.68k stars 370 forks source link

i want to show only line instead of dots of line #110

Open Rameshkumarpolavarapu opened 7 years ago

Rameshkumarpolavarapu commented 7 years ago

i want to show only line instead of dots of line and i want write programtically can i possible

alextorres50 commented 7 years ago

To xml

tickHeight | dimension ==> 0dp
tickColor | color  ==> android:@color/ = "@android:color/transparent"
or put the same reference color of background parentView

Programatically

Use: Color:

rangebar.SetTickColor(Android.Resource.Color.Transparent);

Height

int height = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 0, getResources().getDisplayMetrics());
krazykira commented 6 years ago

@Rameshkumarpolavarapu if it solves your issue then please close it