dniz
|
5507687b19
|
[DatePicker] Updated default selection-based openAt logic to consider valid calendar constraints
Fixes crash where default selection is outside of calendar constraints bounds. With this commit, in that case we now show the default selection date in the header, but the user can still only choose a new date within the constraints.
Follow-up to:
- https://github.com/material-components/material-components-android/pull/1651
- https://github.com/material-components/material-components-android/issues/1199
PiperOrigin-RevId: 332455279
|
2020-09-18 14:02:24 -07:00 |
|
Gabriele Mariotti
|
193ce2dc48
|
[DatePicker] Changed openAt to default based on selection, if not provided
Resolves https://github.com/material-components/material-components-android/pull/1651
GIT_ORIGIN_REV_ID=09bf7a4ddb3cba2e55efaab45f09765e7910544b
PiperOrigin-RevId: 330938479
|
2020-09-10 11:15:59 -04:00 |
|
Material Design Team
|
431e092649
|
[DatePicker] Made some MaterialCalendar related methods/classes public, but still restricted.
PiperOrigin-RevId: 326494150
|
2020-08-13 16:53:54 -04:00 |
|
dniz
|
5bd64f42d3
|
[DatePicker] Updated text input mode to respect custom theme res id
Resolves https://github.com/material-components/material-components-android/issues/966
PiperOrigin-RevId: 322809365
|
2020-07-27 13:17:42 -04:00 |
|
marianomartin
|
555356b03f
|
Internal cleanup
PiperOrigin-RevId: 318134343
|
2020-06-26 14:06:52 -04:00 |
|
dniz
|
7965098849
|
[MaterialDatePicker] Disable positive button when invalid or incomplete dates are selected
Resolves https://github.com/material-components/material-components-android/issues/1270
Resolves https://github.com/material-components/material-components-android/pull/1271
PiperOrigin-RevId: 313390751
|
2020-05-27 13:59:38 -04:00 |
|
dniz
|
0bdb2cbdbd
|
[MaterialDatePicker] Make customDatePicker method public but restricted for now
PiperOrigin-RevId: 312495780
|
2020-05-20 17:11:37 -04:00 |
|
dniz
|
d854e78d54
|
[MaterialDatePicker] Hide customDatePicker method since DateSelector API is not exposed yet. We will consider exposing this method and the DateSelector APIs in 1.3.
PiperOrigin-RevId: 312332065
|
2020-05-19 18:49:32 -04:00 |
|
raajkumars
|
2023df01b3
|
Renamed Month.today() to Month.current() to make it obvious that this method returns the first moment of the current month and not the first moment of the current day.
PiperOrigin-RevId: 310417056
|
2020-05-08 14:43:12 -04:00 |
|
hunterstich
|
a265520e42
|
[MaterialDatePicker] Update datepicker drawable resources to use material_ prefix.
Resolves https://github.com/material-components/material-components-android/issues/1166
PiperOrigin-RevId: 305078908
|
2020-04-06 13:26:41 -07:00 |
|
Material Design Team
|
e6e9a07f4b
|
Automated g4 rollback of changelist 305014223
PiperOrigin-RevId: 305017071
|
2020-04-06 12:47:42 -07:00 |
|
hunterstich
|
2ac7fb75df
|
[MaterialDatePicker] Prefix drawables with mtrl_ to avoid client confliects.
Resolves https://github.com/material-components/material-components-android/issues/1166
PiperOrigin-RevId: 305014223
|
2020-04-06 12:34:43 -07:00 |
|
marianomartin
|
5706775bfd
|
Expose customDatePicker so people don't have to limit to range or
single date.
Resolves https://github.com/material-components/material-components-android/issues/893
PiperOrigin-RevId: 297875559
|
2020-02-28 15:12:40 -05:00 |
|
marianomartin
|
33733bd331
|
Remove {@link Month}`s from javadocs
PiperOrigin-RevId: 292335010
|
2020-01-31 11:11:22 -05:00 |
|
zkovar
|
0e6c21d3c0
|
[MaterialDatePicker] Ability to Start Picker in MaterialTextInputPicker Mode
Resolves https://github.com/material-components/material-components-android/pull/867
Resolves https://github.com/material-components/material-components-android/issues/865
GIT_ORIGIN_REV_ID=de3f50710c06d17331d366eb9b4d240ec205a1f8
Co-authored-by: pekingme <pekingme@gmail.com>
PiperOrigin-RevId: 289676795
|
2020-01-14 11:00:51 -08:00 |
|
dniz
|
4e0a016d07
|
Update MaterialDatePicker to read colorSurface from correct context
Fixes issue where colorSurface from materialCalendarTheme is ignored
Resolves https://github.com/material-components/material-components-android/issues/838
PiperOrigin-RevId: 286194512
|
2019-12-18 15:55:09 -05:00 |
|
haodong
|
77ce281f04
|
Fixed MaterialDatePicker todayInUtcMilliseconds method.
- Used UtcDates to return the UTC milliseconds of today in local timezone.
- Previous method is replaced with thisMonthInUtcMilliseconds, which fits its function better.
Resolves https://github.com/material-components/material-components-android/issues/778
PiperOrigin-RevId: 283981946
|
2019-12-05 15:58:26 -05:00 |
|
ldjesper
|
fe56e2ecc7
|
Allow setting of MaterialDatePicker title via CharSequence plus JavaDoc updates
PiperOrigin-RevId: 268445763
|
2019-09-12 14:03:01 -04:00 |
|
ldjesper
|
cdcccfbc5c
|
Fix missing ok and cancel in landscape MaterialDatePicker
We make the middle pane scrollable in cases where things just will not fit
PiperOrigin-RevId: 268301091
|
2019-09-12 14:01:19 -04:00 |
|
ldjesper
|
54bf4cbb82
|
Fix NPE from MaterialDatePicker rotation when MaterialCalendar is not visible.
calendar.getCurrentMonth() is nullable so we check before accessing
PiperOrigin-RevId: 268290292
|
2019-09-12 14:00:30 -04:00 |
|
ldjesper
|
d78d93577f
|
Remove Month from the public API
PiperOrigin-RevId: 268242042
|
2019-09-12 13:57:19 -04:00 |
|
marianomartin
|
215a839598
|
Internal cleanup
PiperOrigin-RevId: 267504117
|
2019-09-12 13:48:16 -04:00 |
|
ldjesper
|
e6cb937ca1
|
Remove MaterialDatePicker testing tags from the public scope in favor of package scope.
PiperOrigin-RevId: 267009956
|
2019-09-04 18:09:37 -04:00 |
|
ldjesper
|
72d54c653c
|
Change picker package to com.google.android.material.datepicker
PiperOrigin-RevId: 267004501
|
2019-09-04 18:07:59 -04:00 |
|