PayPalButtonColor
Defines the colors available for PayPal buttons.
See also
is the default color if one is not provided and is the recommended choice as research has shown it results in the best conversion.
is the preferred alternative color if gold does not work for your experience. Research has shown that people know it is our brand color, which provides a halo of trust and security to your experience.
is one of our secondary alternatives. This color is less capable of drawing people's attention.
is one of our secondary alternatives. This color is less capable of drawing people's attention.
is one of our secondary alternatives. This color is less capable of drawing people's attention.
Entries
Properties
is the color resource ID that can be used for displaying the color.
Returns a representation of an immutable list of all enum entries, in the order they're declared.
when true the color should be displayed with an outline, when false then no outline will be drawn.
defines the luminance of the color, useful when determining which type of wordmark to use or when determining the surface color of text widgets on the button.
Functions
Provides the correct ColorStateList given a Context.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.