Customize the Android SDK
When a customer initiates a payment with the Android SDK, their payment information is collected via 3 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
CountryPickerStyle objects, which are wrapped in the
1public data class PaymentFormStyle(2public var paymentDetailsStyle: PaymentDetailsStyle = PaymentDetailsStyle(),3public var billingFormStyle: BillingFormStyle = BillingFormStyle()4)56public data class BillingFormStyle(7public var billingAddressDetailsStyle: BillingAddressDetailsStyle = BillingAddressDetailsStyle(),8public var countryPickerStyle: CountryPickerStyle = DefaultCountryPickerStyle.light()9)
You can choose between three different options for customization, depending on how much control you need over the forms' UI design. In order of increasing complexity these are:
Default form styling
Use our default Android SDK option to quickly and easily display payment and billing forms, and add basic font and color customization.
Themed form styling
Use our themed option to apply a custom theme to the components displayed, for greater control over the look of your payment forms.