paco icon indicating copy to clipboard operation
paco copied to clipboard

Visual analogue scale (Android, Server)

Open JodliDev opened this issue 7 years ago • 6 comments

Adds the option to create a Visual Analogue Scale for android as an Input-Element (needs min-APIVersion 16)

JodliDev avatar Mar 20 '17 10:03 JodliDev

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

googlebot avatar Mar 20 '17 10:03 googlebot

I signed it!

JodliDev avatar Mar 20 '17 10:03 JodliDev

CLAs look good, thanks!

googlebot avatar Mar 20 '17 10:03 googlebot

The SeekBar.getThumb()-function needed API 16. But I created a fix that also works in API 14 :)

JodliDev avatar Mar 22 '17 14:03 JodliDev

Hi @JodliDev this is very cool. Is there any code to show the scale in the Preview (server side). All I can see is the question text, but nothing under it. Are you planning on adding any more configurable attributes like scale or indicator text?

josmas avatar Mar 20 '18 11:03 josmas

In case you are interested, I added a default material slider to the server preview here: https://github.com/josmas/paco/commit/9c2b33b7064f8666f6765e43e45618eb4a66617e

Also fixed the services.js conflict but I bumped to API 16 and set limits to 0-100 for now, cause it is what I need. Happy to back port or add functionality if there's a need for it.

josmas avatar Mar 20 '18 13:03 josmas