Skip to content

Material uses deprecated methods on android api 35 #4507

@LoveMyBaby

Description

@LoveMyBaby

com.google.android.material:material:1.12.0

Is your feature request related to a problem? Please describe.
When I adapted EdgeToEdge to publish to the Play Store, I received a prompt:
your app uses deprecated APIs or parameters for borderless design
One or more APIs you used or parameters you set for borderless design and window display have been deprecated in Android 15. Your app uses the following deprecated APIs or parameters:
android.view.Window.setStatusBarColor
android.view.Window.setNavigationBarColor
LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES

These APIs or parameters start at the following location: com.google.android.material.datepicker.MaterialDatePicker.onStart

Describe the solution you'd like
Please fix it

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions