Gabriele Mariotti
487e321497
[Slider] Added options to set thumbStrokeColor and thumbStrokeWidth
...
Resolves https://github.com/material-components/material-components-android/pull/1653
Resolves https://github.com/material-components/material-components-android/issues/1652
GIT_ORIGIN_REV_ID=ba5cab25a210a34e9d6396101ad045c8cfc8cb92
PiperOrigin-RevId: 328542122
2020-08-26 17:40:22 -04:00
cketcham
7e37eaa252
[Slider] Adds a warning message if the stepSize or any values are set to float values with a decimal to suggest using integers.
...
PiperOrigin-RevId: 327685433
2020-08-20 16:49:45 -04:00
cketcham
5004d5a521
[Slider] Fix the validation of the slider step size and values.
...
Resolves https://github.com/material-components/material-components-android/issues/1587
PiperOrigin-RevId: 327419448
2020-08-19 17:40:53 -04:00
Gabriele Mariotti
5fb7964372
[Slider] Added option to show/hide tick marks in discrete mode
...
Resolves https://github.com/material-components/material-components-android/pull/1545
GIT_ORIGIN_REV_ID=6c5dc94df08ad7ec202722d5b546795f436de404
PiperOrigin-RevId: 324263710
2020-07-31 15:44:30 -04:00
Mattia
57a31caef5
[Slider] Added XML enabled property to constructor attrs evaluation
...
Resolves https://github.com/material-components/material-components-android/issues/1531
Resolves https://github.com/material-components/material-components-android/pull/1534
GIT_ORIGIN_REV_ID=79a45af769f604f3fb1c4f0f82fb05f36f0934aa
PiperOrigin-RevId: 323783892
2020-07-29 10:41:35 -04:00
marianomartin
b8f4b221f4
[Slider] Added min separation support
...
PiperOrigin-RevId: 322212299
2020-07-21 04:17:46 -07:00
marianomartin
cc031962d4
[Slider] Fixed exception when restoring instance state
...
Resolves https://github.com/material-components/material-components-android/issues/1284
PiperOrigin-RevId: 321392036
2020-07-15 13:57:02 -04:00
marianomartin
34f621d22c
[Slider] Move static inner classes outside base slider class
...
Resolves https://github.com/material-components/material-components-android/issues/1342
Resolves https://github.com/material-components/material-components-android/issues/1471
PiperOrigin-RevId: 320607441
2020-07-10 11:48:43 -07:00
marianomartin
4eea03dff5
[RangeSlider] Fixed number of values changing in RangeSlider
...
https://github.com/material-components/material-components-android/issues/1460
https://github.com/material-components/material-components-android/issues/1393
PiperOrigin-RevId: 319980426
2020-07-07 11:01:15 -04:00
marianomartin
71fcb73c7f
[Slider] Changed slider thumbs to prevent crossing each other
...
PiperOrigin-RevId: 318502401
2020-06-26 14:13:27 -04: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
fcbaa82f12
[Slider] Fixed focus changes after thumbs change original order
...
PiperOrigin-RevId: 317788551
2020-06-26 13:59:59 -04:00
marianomartin
aecb3be32f
[A11y] Added Range Start, Range End to slider content description
...
PiperOrigin-RevId: 317315616
2020-06-19 14:05:37 -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
Material Design Team
342ea9ad25
Internal cleanup
...
PiperOrigin-RevId: 317147378
2020-06-19 13:42:35 -04:00
Eugen Pechanec
a49e8867e9
[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
2020-06-18 13:25:31 -04:00
marianomartin
ba9c2e63ef
[Slider] Changed slider to support very small widths
...
Resolves https://github.com/material-components/material-components-android/issues/1243
PiperOrigin-RevId: 316741418
2020-06-17 18:35:12 -07:00
Eugen Pechanec
3e3bc41abb
[Slider] Keyboard navigation fix
...
Resolves https://github.com/material-components/material-components-android/pull/1364
GIT_ORIGIN_REV_ID=8a0fb870fafba516db529ffee13ea448964b0a9b
PiperOrigin-RevId: 315302829
2020-06-08 16:27:05 -04:00
Material Design Team
76ffe35fef
Cleanup
...
PiperOrigin-RevId: 313865830
2020-06-01 16:52:06 -04:00
connieshi
e521fda395
[Slider] Add range and invalid value to IllegalStateException message to make it more clear.
...
PiperOrigin-RevId: 312474145
2020-05-20 17:07:04 -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