# AndroidWindowInsets.SystemBarsBackground

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

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.Android](/engine/6000.7/script-reference/unityengine/android.md)
* **Assembly:** UnityEngine.AndroidJNIModule

```csharp
public enum AndroidWindowInsets.SystemBarsBackground
```

## Remarks

Use this enum with [AndroidWindowInsets.SetSystemBarsBackground](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/setsystembarsbackground.md) and [AndroidWindowInsets.GetSystemBarsBackground](/engine/6000.7/script-reference/unityengine/android/androidwindowinsets/getsystembarsbackground.md) to control the system bars background at runtime. Set to `Transparent` when insets are overlapping with the application window to allow game content to show through. Requires Android 11 (API 30) and later.

## Examples

```csharp
using UnityEngine;
using UnityEngine.Android;

public class Controller : MonoBehaviour
{
    public void Start()
    {
        // Make system bars transparent for edge-to-edge rendering.
        AndroidApplication.currentWindowInsets.SetSystemBarsBackground(AndroidWindowInsets.SystemBarsBackground.Transparent);
    }
}
```

## Fields

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