GooglePayButtonStyling
data class GooglePayButtonStyling(val buttonTheme: GooglePayButtonTheme? = null, val buttonType: GooglePayButtonType? = null, @Dimension(unit = 0) val cornerRadius: Int? = null) : Parcelable
Object to style the Google Pay button. Check the Google docs for more details.
Parameters
buttonTheme
Affects the color scheme of the button.
buttonType
Changes the text displayed inside of the button.
cornerRadius
Sets the corner radius of the button. For example, passing 16 means the radius will be 16 dp.
Constructors
Link copied to clipboard
constructor(buttonTheme: GooglePayButtonTheme? = null, buttonType: GooglePayButtonType? = null, @Dimension(unit = 0) cornerRadius: Int? = null)