---
title: Customization API
canonical: https://developer.unico.io/dual-api/developers/sdks-and-tools/android/api-reference/customization-api
locale: en
generated_by: markdown-export
---

## Applying a custom theme

Pass your theme implementation to the builder using `setTheme()`:

```kotlin
acessoBioBuilder.setTheme(myTheme)
```

Where `myTheme` is an object that implements the `IAcessoBioTheme` interface.

## IAcessoBioTheme — Selfie

| Method | Description |
|---|---|
| `getColorBackground()` | Background color of the selfie capture frame |
| `getColorBoxMessage()` | Background color of the message box |
| `getColorTextMessage()` | Text color inside the message box |
| `getColorSilhouetteSuccess()` | Color of the silhouette when capture succeeds |

## IAcessoBioTheme — Document

| Method | Description |
|---|---|
| `getColorBackground()` | Background color of the document capture frame |
| `getColorBackgroundTakePictureButton()` | Background color of the take-picture button |
| `getColorIconTakePictureButton()` | Icon color inside the take-picture button |
| `getColorBackgroundBottomDocument()` | Background color of the bottom bar |
| `getColorTextBottomDocument()` | Text color in the bottom bar |

## Locale

| Method | Type | Description |
|---|---|---|
| `setLocale(locale: LocaleTypes)` | `LocaleTypes` | Sets the capture screen language |

Refer to [API Reference > Enums](/developers/sdks-and-tools/android/api-reference/enums) for the full list of supported `LocaleTypes` values.

## XML color resources

You can also override colors via your app's `colors.xml` resource file. The following names are recognized by the SDK:

| Resource name | Default | Description |
|---|---|---|
| `unico_color_background` | `#F9F8FA` | Background of the capture frame |
| `unico_color_silhouette_success` | `#22C532` | Silhouette color when aligned |
| `unico_color_silhouette_error` | `#FFCB00` | Silhouette color on error |
| `unico_color_silhouette_neutral` | `#000000` | Silhouette color (neutral) |
| `unico_color_box_message` | `#1172EB` | Background of the message box |
| `unico_color_text_message` | `#0B0B0B` | Text inside the message box |
| `unico_color_background_take_picture_button` | `#1172EB` | Background of the capture button |
| `unico_color_icon_take_picture_button` | `#FFFFFF` | Icon color of the capture button |
| `unico_color_background_bottom_document` | `#FFFFFF` | Background of the document bottom bar |
| `unico_color_text_bottom_document` | `#404040` | Text in the document bottom bar |