Search code examples
c#androidunity-game-engineandroid-statusbar

Change Android statusbar color in Unity3D scene


I want to define the Android statusbar color for a specific scene in Unity3D. Currently the bar is just black, but I want it to be gray like the background of my scene. I couldn't find any solution, so I hope that one of you maybe has an idea?


Solution

  • In my view it should be possible when combining these two statements:

    1. You can can call native Android Java code from inside Unity c# code, as described here for example.
    2. In native Android you can set the status bar color programmatically, as described here for example.