material-components-android
material-components-android copied to clipboard
[NavigationRailView] Start insets use the system bars instead of the display cutout
trafficstars
Description: The navigation rail applies start insets based on the system bars. This results in the rail appearing behind display cutouts.
Expected behavior: Apply start insets based on the display cutout
Source code: https://github.com/material-components/material-components-android/blob/a2309ce5fc9a256b66ccac5c73a8ba5b0267f5b9/lib/java/com/google/android/material/navigationrail/NavigationRailView.java#L216
Minimal sample app repro: https://github.com/t895/yuzu/tree/material-update
Android API version: API 34
Material Library version: 1.10.0+ The bug was introduced with this commit
Device: Samsung Galaxy S21 and Google Pixel 7 both running their latest stable software updates as of 1/11/24