Skip to main content
The exported UI Kit Builder code lives in chat-builder/src/main/java/com/cometchat/builder/. This guide helps you navigate the structure so you know exactly where to make changes.

Root Files

FilePurpose
CometChatBuilderSettings.ktAuto-generated feature flags and configuration constants from Builder
BuilderSettingsHelper.ktUtility class for applying Builder settings to CometChat UI components
AppCredentials.ktCometChat app credentials (APP_ID, AUTH_KEY, REGION)

Key Folders

data/

Contains data layer components including enums, interfaces, and repositories.

ui/

Contains all UI-related components organized by type.

utils/

Utility functions and application-level helpers.

viewmodels/

ViewModels for managing UI state and business logic.

res/ Folder Structure

layout/

XML layout files for activities, fragments, and custom views.

values/

Resource values including strings, colors, and themes.

font/

Font resources for typography customization.

drawable/

Drawable resources including icons, shapes, and backgrounds.

Quick Reference: Where to Customize

What you want to changeWhere to look
Enable/disable featuresCometChatBuilderSettings.kt
Apply settings to componentsBuilderSettingsHelper.kt
Theme colors & stylesres/values/themes.xml, res/values/colors.xml
Typography & fontsres/font/
Screen layoutsres/layout/
Text & translationsres/values/strings.xml, res/values-<locale>/
Activity behaviorui/activity/
Fragment behaviorui/fragments/
App credentialsAppCredentials.kt
Prefer using CometChatBuilderSettings.kt for feature toggles and themes.xml for styling. For extensive changes, extend existing components instead of modifying core files directly.

Next Steps

UI Kit Builder Settings

Configure feature toggles and behavior

Customizations

Modify component props, styling, and behavior

Theming

Customize colors, typography, and styling

Localization

Add multi-language support