5 Commits

Author SHA1 Message Date
marianomartin
b8f4b221f4 [Slider] Added min separation support
PiperOrigin-RevId: 322212299
2020-07-21 04:17:46 -07:00
marianomartin
f945a0649b [Slider] Rollback Slider Ally fixes, will address separately
PiperOrigin-RevId: 318169160
2020-06-26 14:08:53 -04:00
marianomartin
555356b03f Internal cleanup
PiperOrigin-RevId: 318134343
2020-06-26 14:06:52 -04:00
marianomartin
34b2a17fcd [A11y] Fixed focus changing on slider thumbs when they intercept
PiperOrigin-RevId: 317190322
2020-06-19 13:46:07 -04:00
marianomartin
8f0aa7f8d6 Split Slider into two classes
Slider throws an exception when calling getValue with more than one value. Supporting both single value and multiple values in the same class makes it confusing. While not supporting convenience methods getValue and setValue in the multi value class makes it, well, inconvenient.
In addition min, max are also a bit ambiguous since seekBar uses these for valueFrom and valueTo so those were removed.

PiperOrigin-RevId: 311774410
2020-05-18 11:19:05 -04:00