4 Commits

Author SHA1 Message Date
hunterstich
c2051db2a9 [Internal] Avoid calling deprecated edge-to-edge APIs on 35+
Resolves https://github.com/material-components/material-components-android/issues/4626
Resolves https://github.com/material-components/material-components-android/issues/4507
Resolves https://github.com/material-components/material-components-android/issues/4732
Resolves https://github.com/material-components/material-components-android/issues/4607
Resolves https://github.com/material-components/material-components-android/pull/4883

PiperOrigin-RevId: 800945380
2025-08-29 11:48:28 -07:00
pubiqq
23aca03255 [Internal] Remove pre-Lollipop checks
Resolves https://github.com/material-components/material-components-android/pull/4266

GIT_ORIGIN_REV_ID=1de7808e66dd6666c893217c76c7499afe2df6a3
PiperOrigin-RevId: 669688797
2024-09-03 13:31:29 +00:00
conradchen
1a91e683a3 [BottomSheet] Fix bottom sheet dialog status bar color adjustment
This CL fixes two issues regarding bottom sheet dialog status color adjustment in edge-to-edge mode:

1. Uses WindowInsetsControllerCompat to set status bar color to replace the deprecated way of setting flags, which cannot override the light/dark setting set by WindowInsetsControllerCompat.
2. Tracks Window change so the original status bar color can be updated when the dialog is re-shown. (The day/night mode can be changed when the dialog is hidden.)

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

PiperOrigin-RevId: 450463570
2022-05-24 13:16:26 -04:00
conradchen
be6050a23c [DatePicker] Always go edge-to-edge in fullscreen mode
Resolves https://github.com/material-components/material-components-android/issues/1966

PiperOrigin-RevId: 432296692
2022-03-04 13:06:17 -05:00