PayPalCreditButton
PayPalCreditButton provides a PayPal Credit button with the ability to modify the color, shape, and size.
Setting up PayPalCreditButton within an XML layout:
<PayPalCreditButton
android:id="@+id/paymentButton"
android:layout_width="match_parent"
android:layout_height="wrap_content" />Optionally you can provide the following attributes: paypal_credit_color, payment_button_shape, and payment_button_size.
Constructors
Properties
Updates the color of the Payment Button with the provided PayPalCreditButtonColor.
Updates the corner radius of the button
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.