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?
Asked
Active
Viewed 1,721 times
2 Answers
1
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.

Benjamin Zach
- 1,452
- 2
- 18
- 38
1
You can change the theme of the Unity app from AndroidManifest file. By changing the theme you automatically change the color of the status bar, you can even make it invisible.

Fatih Ürkmez
- 11
- 2
-
Maybe provide an example (code of that AndroidManifest file) on how to change the theme and how to specify the color (or make it invisible). – unixb0y Sep 14 '19 at 23:18
-
Yes an example would be pretty nice. To get the status bar invisible would be the best thing for my case I guess :-) – Mario Sep 19 '19 at 08:31