# AndroidWindowInsetsAppearance

> Controls the foreground appearance of system bar icons and text.

## Definition

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

```csharp
public enum AndroidWindowInsetsAppearance : uint
```

## Remarks

Use this enum with [PlayerSettings.Android.SetInsetsAppearance](/engine/6000.7/script-reference/unityeditor/playersettings/android/setinsetsappearance.md) and [PlayerSettings.Android.GetInsetsAppearance](/engine/6000.7/script-reference/unityeditor/playersettings/android/getinsetsappearance.md) to configure the appearance of system bar icons per inset type at build time. Requires Android 11 (API 30) or higher.

Additional Resources: [PlayerSettings.Android.SetInsetsAppearance](/engine/6000.7/script-reference/unityeditor/playersettings/android/setinsetsappearance.md), [AndroidWindowInsetsType](/engine/6000.7/script-reference/unityeditor/androidwindowinsetstype.md).

## Examples

```csharp
using UnityEditor;

public class ApplyInsetsAppearance
{
    public static void Setup()
    {
        // Set the status bar to use light icons (suitable for dark backgrounds).
        PlayerSettings.Android.SetInsetsAppearance(AndroidWindowInsetsType.StatusBars, AndroidWindowInsetsAppearance.Light);

        // Set the navigation bar to use dark icons (suitable for light backgrounds).
        PlayerSettings.Android.SetInsetsAppearance(AndroidWindowInsetsType.NavigationBars, AndroidWindowInsetsAppearance.Dark);
    }
}
```

## Fields

| Value                                                                                       | Description                                                        |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [Dark](/engine/6000.7/script-reference/unityeditor/androidwindowinsetsappearance/dark.md)   | Dark icons, suitable for light backgrounds behind the system bars. |
| [Light](/engine/6000.7/script-reference/unityeditor/androidwindowinsetsappearance/light.md) | Light icons, suitable for dark backgrounds behind the system bars. |
