# AndroidSystemBarsBackground

> Controls whether system bars have an opaque or transparent background.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public enum AndroidSystemBarsBackground : uint
```

## Remarks

Use this enum with [PlayerSettings.Android.systemBarsBackground](/engine/6000.7/script-reference/unityeditor/playersettings/android/systembarsbackground.md) to configure the system bars background behavior at build time. Set to `Transparent` when insets are overlapping with the application window to allow game content to show through the system bars. Requires Android 11 (API 30) or higher.

Additional Resources: [PlayerSettings.Android.systemBarsBackground](/engine/6000.7/script-reference/unityeditor/playersettings/android/systembarsbackground.md), [Screen.safeArea](/engine/6000.7/script-reference/unityengine/screen/safearea.md).

## Examples

```csharp
using UnityEditor;

public class ApplySystemBarsBackground
{
    public static void Setup()
    {
        // Make system bars transparent for edge-to-edge rendering.
        PlayerSettings.Android.systemBarsBackground = AndroidSystemBarsBackground.Transparent;
    }
}
```

## Fields

| Value                                                                                                 | Description                                                                                                                       |
| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [Opaque](/engine/6000.7/script-reference/unityeditor/androidsystembarsbackground/opaque.md)           | System bars have an opaque background. This is the default.                                                                       |
| [Transparent](/engine/6000.7/script-reference/unityeditor/androidsystembarsbackground/transparent.md) | System bars have a transparent background, allowing game content to show through when insets overlap with the application window. |
