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

How to create Seek Bar without sections? #6

Open
dinalt2006 opened this issue May 29, 2019 · 1 comment
Open

How to create Seek Bar without sections? #6

dinalt2006 opened this issue May 29, 2019 · 1 comment

Comments

@dinalt2006
Copy link

I need float type Seek Bar without sections.
My code:
seek_barUA.getConfigBuilder() .min(0f) .max(dcmotor!!.ratedUA.toFloat()) .progress(dcmotor!!.ratedUA.toFloat()) .sectionCount(2) .trackColor(com.jasondinalt.dcmotor.R.color.color_gray) .secondTrackColor(com.jasondinalt.dcmotor.R.color.color_blue) .thumbColor(com.jasondinalt.dcmotor.R.color.color_blue) .sectionTextColor(com.jasondinalt.dcmotor.R.color.colorPrimary) .sectionTextSize(16) .thumbTextColor(com.jasondinalt.dcmotor.R.color.color_red) .thumbTextSize(18) .signColor(com.jasondinalt.dcmotor.R.color.color_green) .signTextSize(18) .autoAdjustSectionMark() .floatType() .setUnit("V") .sectionTextPosition(SignSeekBar.TextPosition.BELOW_SECTION_MARK) .build();
like on last your picture with autofloat feauture...

@zhou-you
Copy link
Owner

Check the settings

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

2 participants