UI Theme Customization

The UI can be styled to match your app and brand. Font, color, layout, and button styles can be customized using XML, and string resources can be customized as well.

The base theme can be extended and overridden. You can also use a custom base theme, but make sure it extends Theme.MaterialComponents.

Android Customization

To make our SDK inherit your app's theming, you can set our Checkout style to extend your app theme. Our SDK is built with the Material theme, so your theme must extend a theme.MaterialComponents.

<style name="Checkout" parent="YOUR_APP_THEME" />

If you want our SDK to use its own custom theme, separate from your app theme, you can create a style that extends a Material theme and adjust its attributes to your liking.

<style name="Checkout" parent="Theme.MaterialComponents(.SOME_EXTENSION)" >
    <!-- Changes colors and styles to your liking here -->
</style>