How to change the background color for the notch in android

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By arnomleonam

I’ve been looking for a way to change the background color for the notch in android devices, because the default color just don’t match with my UI.

:bust_in_silhouette: Reply From: Wakatta

You can try this Letter-boxing technique here or if that is not the desired result
Project > Install Android Build Template
Set Editor > Editor Settings > Export > Android > Custom Build SDK Path
Set Project > Export > Android > Custom Template > Use Custom Template true

If you have Android Studio Create res/values/colors.xml and res/values/styles.xml
defining your desired theme colors for the statusbar and shortEdges