Customize the Frames Android SDK
Last updated: August 20, 2025
Note
Frames will be deprecated on June 30, 2026. Upgrade to Flow for mobile, our pre-built, customizable payment user interface. Flow provides a more flexible, scalable, and feature-rich integration, as well as access to additional payment methods.
When a customer initiates a payment with the Frames Android SDK, their payment information is collected via three customizable forms:
- Payment Form: prompts users for their payment card details
- Billing Form: prompts users for their billing information
- Country Picker: prompts the user to select a country



The styling of these forms can be customized through the use of the PaymentDetailsStyle, BillingAddressDetailsStyle and CountryPickerStyle objects, which are wrapped in the PaymentFormStyle wrapper.
You can choose between three different styling options for customization, depending on how much control you need over the forms' UI design. In order of increasing complexity these are:
The default integration is the quickest way to display the forms required to collect payment information, with no additional customization required.
Localization support for the following languages is built into the default integration:
- Arabic
- Dutch
- English
- French
- German
- Italian
- Romanian
- Spanish
You can also add your own localized strings to add support for additional languages.


For basic customization, the PaymentDetailsStyle, BillingFormStyle, BillingAddressDetailsStyle and CountryPickerStyle objects expose properties that allow you to change the text and colors displayed on the forms.
If you want to customize your forms beyond what is supported by the default integration, you can apply a theme using the Theme object.



When instantiating a new Theme object, you must supply the following fields at a minimum:
- accentColor
- textColor
- errorColor
- backgroundColor
- fieldBackgroundColor
- enabledButtonColor
- disabledButtonColor
You can then optionally provide additional values to customize other elements including button styling, custom placeholder and error text, and field input controls.
Dynamic font sizing based on the user's device is built into the Theme object.
For complete control over how the various UI elements on your forms look, you can use the fully custom solution.



You can use the following objects and properties to edit each individual UI component displayed across the forms: