TapTalk.io Documentation
  • Introduction
  • OneTalk Omnichannel Documentation
    • Getting Started with OneTalk
      • Team Members
      • Add Topic
      • Assign Agent to Topic
      • Paid Proactive Chat
    • Channel Integration
      • Telegram Integration
      • WhatsApp SME Integration
      • Instagram DM Integration
      • Facebook Messenger Integration
      • Live Chat Integration (iOS, Android, Web)
        • OneTalk Live Chat for Android
          • Get Started
          • Event Listener
          • Authentication
          • Case & Topic
          • Navigate Live Chat UI
          • Customize UI Appearance
        • OneTalk Live Chat for iOS
          • Get Started
          • Background Process in TapTalk.io Omnichannel iOS
          • Event Delegate
          • Authentication
          • Case & Topic
          • Navigate Live Chat UI
          • Customize UI Appearance
        • OneTalk Live Chat for Web
          • Get Started
          • Callback
          • Method
        • OneTalk Live Chat for React Native
          • Get Started - Android
          • Authentication - Android
          • Get Started - iOS
          • Authentication - iOS
        • OneTalk Live Chat for Flutter
          • Get Started - Android
          • Get Started - iOS
      • Google Business Messages Integration
      • Google Business Profile Integration
      • Tokopedia Integration
    • Integration API
      • Inbox API
      • User/Contact API
    • Live Chat Widget Callback Function
    • Social Channel Button
    • Custom Chatbot Integration
      • Get Started
      • Edit or Delete Chatbot
      • Development
    • QnA via API
    • Webhook
  • PowerTalk Chat SDK Documentation
    • Getting Started with PowerTalk
    • PowerTalk Android
      • Get Started
      • Enable Chat Features
      • Authentication
      • TapUI and TapCore
      • Background Process in TapTalk.io
      • Connection
      • Event Listener
      • Push Notification
      • General
      • User
      • Room List
        • Room List - TapUI
        • Room List - TapCore
      • Chat Room and Messages
        • Chat Room and Messages - TapUI
        • Chat Room and Messages - TapCore
      • Contact
      • Message Type
      • Customize UI Appearance
      • Customize Chat Features
      • Customize Chat Message Bubble
      • Customize Navigation Bar
      • Deep Linking
      • Error Codes
    • PowerTalk iOS
      • Get Started
      • TapUI and TapCore
      • Background Process in TapTalk.io
      • Implement Application Delegate
      • Authentication
      • Connection
      • Event Delegate
      • Push Notification
      • General
      • User
      • Room List
        • Room List - TapUI
        • Room List - TapCore
      • Chat Room and Messages
        • Chat Room and Messages - TapUI
        • Chat Room and Messages - TapCore
      • Contact
      • Message Type
      • Customize UI Appearance
      • Customize Chat Features
      • Customize Chat Message Bubble
      • Customize Navigation Bar
      • Deep Linking
      • Error Codes
    • PowerTalk React Native
      • Get Started - Android
      • Get Started - iOS
    • PowerTalk Flutter
      • Get Started - Android
      • Get Started - iOS
    • Javascript SDK
      • Get Started
      • Authentication
      • Connection
      • General
      • Event Listener
      • User
      • Room List
      • Chat Room
      • Messages
      • Contact
      • Message Type
    • Server API
      • Get Started
      • Base URL
      • Authentication
      • User
      • Contact
      • Message
      • Room
    • Webhook
      • Get Started
      • Webhook Payload
  • MeetTalk SDK Documentation
    • Getting Started with MeetTalk
    • MeetTalk Android
      • Get Started
      • Event Listener
    • MeetTalk iOS
      • Get Started
      • Implement Application Delegate
      • Event Delegate
  • SendTalk API Documentation
    • Introduction
    • Whatsapp Verification
Powered by GitBook
On this page
  • Customize Default Color Theme
  • Customize General Colors

Was this helpful?

  1. OneTalk Omnichannel Documentation
  2. Channel Integration
  3. Live Chat Integration (iOS, Android, Web)
  4. OneTalk Live Chat for Android

Customize UI Appearance

You can customize the appearance of the TapTalkLive view's color scheme. To do this, open your application's colors.xml file and override the values present in TapTalk.io library's values.xml file.

Customize Default Color Theme

To customize the UI's color theme, open your colors.xml file and add override following values with your own colors:

<!--TapTalkLive Default Colors-->
<color name="ttlColorPrimaryExtraLight">@color/yourExtraLightColor</color>
<color name="ttlColorPrimaryLight">@color/yourLightColor</color>
<color name="ttlColorPrimary">@color/yourPrimaryLightColor</color>
<color name="ttlColorPrimaryDark">@color/yourDarkColor</color>
<color name="ttlColorAccent">@color/yourAccentColor</color>

Note: you can override the default color values partially, but it is recommended to change all of them accordingly to make sure the color theme within the chat UI matches

Customize General Colors

The following are the values used as general component colors, present in colors.xml

<!--Light text color on dark background-->
<color name="ttlColorTextLight">@color/yourLightTextColor</color>

<!--Medium text color generally used on subtitles or placeholders-->
<color name="ttlColorTextMedium">@color/yourMediumTextColor</color>

<!--Dark text color on light background-->
<color name="ttlColorTextDark">@color/yourDarkTextColor</color>

<!--Identifies successful actions-->
<color name="ttlColorSuccess">@color/yourSuccessTextColor</color>

<!--Identifies errors or destructive actions-->
<color name="ttlColorError">@color/yourErrorTextColor</color>

<!--Primary colored icons used on light background-->
<color name="ttlColorPrimaryIcon">@color/yourPrimaryIconColor</color>

<!--White icons used on colored background-->
<color name="ttlColorWhiteIcon">@color/yourCustomLightIconColor</color>

<!--Default color for gray icons-->
<color name="ttlColorGrayIcon">@color/yourGrayIconColor</color>

<!--Default icon color for successful actions-->
<color name="ttlColorSuccessIcon">@color/yourSuccessIconColor</color>

<!--Default icon color for errors or destructive actions-->
<color name="ttlColorDestructiveIcon">@color/yourDestructiveIconColor</color>
PreviousNavigate Live Chat UINextOneTalk Live Chat for iOS

Last updated 1 year ago

Was this helpful?