# Set the Chat SDK Theme

If you want to use a custom theme for Chat SDK you need to make sure your theme inherits from the ChatSDKTheme:

Open your App's theme file in `res -> values -> styles.xml`

```
<resources>
    <style name="AppTheme" parent="ChatSDKTheme">
    </style>
</resources>
```

Then you need to disable the default Chat SDK theme:

```
UIModule.config().overrideTheme();
```

If you want to use a completely separate theme for Chat SDK then your main project, make a new theme that has the `ChatSDKTheme` as it's parent.

Then tell Chat SDK to use that theme:

```
UIModule.config().setTheme(R.style.CustomChatSDKTheme);
```


---

# 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://chat-sdk.gitbook.io/android/setup/set-the-chat-sdk-theme.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.
