change Inner Theme
Switches to a registered built-in theme and applies it immediately.
This method:
- Validates the theme is registered
- Selects the light or dark style based on the system dark-mode state
- Applies the theme to the Application context (globally)
- Applies the theme to the given context (immediately)
- Automatically applies the theme to all future Activities via lifecycle callbacks
If the target theme is already active, this method is a no-op.
ChatUIThemeManager.changeInnerTheme(context, ChatUIThemeManager.LIVELY_THEME);
Content copied to clipboard
Parameters
context
context (Activity or Application context recommended)
theme Type
theme identifier (LIVELY_THEME or any registered custom theme)