# Dark / Night mode

The SDK has a default configuration for the night mode. In order to change the night mode styles you have to define the same styles that you override for the light mode and add them in your "\*-night" configuration folder (e.g. values-night/styles.xml) and change the values accordingly.

By default the SDK will follow the OS setting, that means, that if the the night mode is enabled the SDK will automatically load the "\*-night" configuration.

If your application doesn’t support the night mode you have to programmatically enforce the light mode using the following code:

```kotlin
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO);
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uqudo.com/docs/kyc/uqudo-sdk/integration/android/ui-customisation/dark-night-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
