10 Commits

Author SHA1 Message Date
rightnao
e3b255b3a0 [Docs] Crosslink github docs in javadocs
PiperOrigin-RevId: 546393704
2023-07-11 19:37:37 +00:00
conradchen
17da000a29 [Slider] Add support for custom thumb drawables
Resolves https://github.com/material-components/material-components-android/issues/1522

PiperOrigin-RevId: 429607888
2022-02-23 11:10:12 -08:00
conradchen
3cf0647da0 [Slider] Fix lint error caused by hidden super interface
Overriding the inherited methods from a hidden super interface to fix lint errors caused by those methods being hidden.

Resolves https://github.com/material-components/material-components-android/issues/2493

PiperOrigin-RevId: 421909180
2022-01-18 12:03:14 -05:00
Material Design Team
2d589bd351 [RangeSlider] Fix minSeparation having no effect when stepSize > 0
Resolves https://github.com/material-components/material-components-android/issues/2147

Note: `minSeparation` cannot be set as a dimension when using `stepSize`, make sure to use `rangeSlider.setMinSeparationValue()`.
PiperOrigin-RevId: 383893367
2021-07-12 19:39:32 +00:00
Carsten Hagemann
1f76fcc70f [Slider] Improve listener documentation, fix #1900
Resolves https://github.com/material-components/material-components-android/issues/1900
Resolves https://github.com/material-components/material-components-android/pull/1901

GIT_ORIGIN_REV_ID=70b2b0a1f2bc5798165913cb7dd2e015ff55abdf
PiperOrigin-RevId: 345003325
2020-12-01 09:30:36 -05:00
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