Skip to content

Theme reference

Zeno Foltin edited this page May 11, 2019 · 14 revisions
Attribute Type Platform Description
PageTitle string iOS/Android Text displayed at the top of the page
ButtonLabel string iOS/Android Text displayed on the payment button
ShowSecurityMessage bool iOS/Android Hide/show the security message shown below the form (default is hidden)
SecurityMessageTextColor Color iOS/Android Security message text colour
ButtonTextColor Color iOS/Android Button text colour
ButtonBackgroundColor Color iOS/Android Button background colour
BackgroundColor Color iOS/Android Page background colour
EntryTextColor Color iOS/Android Entry field text colour
LabelActiveTextColor Color iOS only Entry field label colour during text entry
LabelInactiveTextColor Color iOS only Entry field label colour after text is entered
PlaceholderTextColor Color iOS only Entry field text colour before text is entered
ErrorTextColor Color iOS only Error text colour
OverlayBackgroundColor Color iOS/Android Loading overlay background colour

Android XML theme reference

App theme attributes used when a Theme is not set

Attribute Description
colorPrimary Toolbar background colour
colorPrimaryDark Status bar background colour
android:windowBackground Window background colour
colorAccent Edit text underline and label colour when active (colorControlNormal and colorControlActivated overrides this)
colorControlNormal Edit text underline colour - inactive
colorControlActivated Edit text underline and label colour - active; Activity indicator colour
colorError Edit text underline and label colour - error
android:textColor Security message, billing country spinner, dialog title and button text colour
android:textColorPrimary Edit text colour; dialog text colour
android:textColorHint Edit text hint, label and underline colour when inactive, otherwise the edit text is colorAccent or colorControlActivated