PayPalButton
PayPalButton provides a PayPal button with the ability to modify the color, label, shape, and size.
Setting up PayPalButton within an XML layout:
<PayPalButton
android:id="@+id/paymentButton"
android:layout_width="match_parent"
android:layout_height="wrap_content" />Optionally you can provide the following attributes: paypal_color, paypal_label, payment_button_shape, and payment_button_size.
Constructors
Properties
Updates the color of the Payment Button with the provided PayPalButtonColor.
Updates the corner radius of the button
Updates the label for Payment Button with the provided PayPalButtonLabel.
The prefix text which is displayed before the button's wordmark.
Visibility of the prefix text which is displayed before the button's wordmark.
Updates the shape of the Payment Button with the provided PaymentButtonShape and defaults to ROUNDED if one is not provided.
Updates the size of the Payment Button with the provided PaymentButtonSize.
Value of the suffix text which is displayed after the button's wordmark.
Visibility of the suffix text which is displayed before the button's wordmark.