6 Commits

Author SHA1 Message Date
marianomartin
e5430f9488 [Slider] Changed slider thumbs to prevent crossing each other
PiperOrigin-RevId: 318502401
(cherry picked from commit 71fcb73c7ff52da799f578fd895041fc69372d54)
2020-07-15 16:04:57 -04:00
Eugen Pechanec
134c73e6f8 [Slider] Keyboard navigation fix, part 2
Resolves https://github.com/material-components/material-components-android/pull/1395

GIT_ORIGIN_REV_ID=7762807c9e2b58c4156267c04ae9fbb080ed8835
PiperOrigin-RevId: 317126080

(cherry picked from commit a49e8867e95d4134c3d98369a6176b53709c376d)
2020-07-15 15:53:19 -04:00
marianomartin
f8d0466f64 [Slider] Changed slider to support very small widths
Resolves https://github.com/material-components/material-components-android/issues/1243

PiperOrigin-RevId: 316741418
(cherry picked from commit ba9c2e63ef5692dbfe411684d77eea0ffb7588a2)
2020-07-15 15:52:27 -04:00
Eugen Pechanec
49d4068a15 [Slider] Keyboard navigation fix
Resolves https://github.com/material-components/material-components-android/pull/1364

GIT_ORIGIN_REV_ID=8a0fb870fafba516db529ffee13ea448964b0a9b
PiperOrigin-RevId: 315302829

(cherry picked from commit 3e3bc41abb49dc3fa1dff63e886da787b592cf2a)
2020-07-15 15:28:58 -04:00
connieshi
7a6ae3d702 [Slider] Add range and invalid value to IllegalStateException message to make it more clear.
PiperOrigin-RevId: 312474145
(cherry picked from commit e521fda39595e800e4c2d3c70d4d85a7c1796ff1)
2020-05-27 15:12:03 -04:00
marianomartin
afcda0871e 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
(cherry picked from commit 8f0aa7f8d638aa1368bcd07268433a80d26e4940)
2020-05-27 15:07:51 -04:00