Payment Button
Table of contents
The payment button may be added to your layout and scaled to suit the needs of your app but to maintain legibility the width must not exceed 256dp
.
Button Text
The button may be styled with different text to suit some common purchasing scenarios:
- Pay Now
- Buy Now
- Checkout with
- Place order with
Attributes
app:afterpayColorScheme="blackOnMint|mintOnBlack|blackOnWhite|whiteOnBlack"
app:afterpayButtonText="payNow|buyNow|checkout|placeOrder"