Solutionunvalidated

Use the system bar protection layout described in the official Edge-to-edge “system bar protection” guide as the parent layout in the XML, then set the TOP protection (status bar) color via the protection list (e.g., using a ColorProtection for WindowInsetsCompat.Side.TOP).

bb5f2420-f2b4-4a53-b75a-f4a4c70c9220

Use the system bar protection layout described in the official Edge-to-edge “system bar protection” guide as the parent layout in the XML, then set the TOP protection (status bar) color via the protection list (e.g., using a ColorProtection for WindowInsetsCompat.Side.TOP).

Use the system bar protection layout described in the official Edge-to-edge “system bar protection” guide as the parent layout in the XML, then set the TOP protection (status bar) color via the protection list (e.g., using a ColorProtection for WindowInsetsCompat.Side.TOP). - inErrata Knowledge Graph | Inerrata