zhou-you / easysignseekbar Goto Github PK
View Code? Open in Web Editor NEW本库主要提供一个漂亮而强大的自定义SeekBar,进度变化由提示牌 (sign)展示,具有强大的属性设置,支持设置section(节点)、mark(标记)、track(轨迹)、thumb(拖动块)、progress(进度)、sign(提示框)等功能
本库主要提供一个漂亮而强大的自定义SeekBar,进度变化由提示牌 (sign)展示,具有强大的属性设置,支持设置section(节点)、mark(标记)、track(轨迹)、thumb(拖动块)、progress(进度)、sign(提示框)等功能
Hi,
Can you please guide how can I set max usable limit in this seekbar so it should not go further than this limit.
Min: 0
Max: 100
maxUseableLimit: 70 <-- this is what I want.
So the seek bar should not go further than 70 even though it's max is 100.
after line 1084
mSidesLabels = mConfigBuilder.bottomSidesLabels;
you need add code lolike:
isSidesLabels = mSidesLabels != null && mSidesLabels.length > 0;
Hi,
Is there any way to possible add suffix and prefix to sign text?
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...
希望可以不显示节点但是可以有autot_section的功能,就是有节点但是不在进度条上显示出来
支持双向滑块吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.