> For the complete documentation index, see [llms.txt](https://docs.snapodds.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snapodds.com/docs/mobile-sdk/android/snapodds-operator/customization.md).

# Customization

## Customizing Colors

To customize colors in `SnapFragment` use the `UIColorConfiguration` object on the Snapscreen instance.

```
Snapscreen.instance?.colorConfiguration.background = R.color.myBackground
```

## Customizing Fonts

To customize fonts in `SnapFragment`, use the `UIFontConfiguration` object on the Snapscreen instance.

```
Snapscreen.instance?.fontConfiguration.baseTypeface = Typeface.DEFAULT
```

## Customizing Snap UI

To customize displayed messages in the `SnapFragment` use the `SnapUIConfiguration` object on the Snapscreen instance.

```swift
Snapscreen.instance?.snapUIConfiguration.snapHintText = "My custom Hint"
```

All desired customizations must be done prior to presenting the  `SnapFragment` or `SnapActivity`. While it is possible to modify the configuration between presentations of the  `SnapFragment`, such modifications while `SnapFragment` is present are not guaranteed to be respected.
