Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Android Navigation Bar color ?

Discussion in 'Android' started by JohnDmu, Dec 5, 2020.

  1. JohnDmu

    JohnDmu

    Joined:
    Apr 8, 2015
    Posts:
    33
    Hello everyone ,
    My Unity app is set to Screen.fullScreen = false; , although the fullscreen disabling functionality works ok the color of the navigation bar in the bottom is always white even if my device's theme is set to dark.

    I have tried editing the manifest theme property but no luck.
    Any suggestions?

    My manifest Right now:

    Code (CSharp):
    1. <application>
    2.     <activity android:name="com.unity3d.player.UnityPlayerActivity" android:theme="@android:style/Theme.DeviceDefault" android:screenOrientation="portrait" android:launchMode="singleTask" android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection|density" android:hardwareAccelerated="false">
    3.       <intent-filter>
    4.         <action android:name="android.intent.action.MAIN" />
    5.         <category android:name="android.intent.category.LAUNCHER" />
    6.       </intent-filter>
    7.       <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
    8.       <meta-data android:name="android.notch_support" android:value="true" />
    9.       <meta-data android:name="android.app.lib_name" android:value="unity" />
    10.       <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="true" />
    11.     </activity>
    12.   </application>
     
  2. JohnDmu

    JohnDmu

    Joined:
    Apr 8, 2015
    Posts:
    33
    UnityN00b2022 likes this.