You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -325,6 +325,14 @@ The Afterpay badge can be added to your layout and scaled to suit the needs of y
325
325
![Black on White badge][badge-black-on-white]
326
326
![White on Black badge][badge-white-on-black]
327
327
328
+
### Lockup
329
+
330
+
The Afterpay lockup can be added to your layout and scaled to suit the needs of your app. Per branding guidelines it requires a minimum width of `64dp`.
Given the above, when clicking the more info "link", the modal that opens will be white in the current locale as set in configuration.
428
452
453
+
###### Modal Link Style Options
454
+
A value that can be set on `moreInfoOptions` when initialised. Setting this is optional and is of type `ModalLinkStyle`.
455
+
456
+
Available values are `CircledInfoIcon`, `MoreInfoText`, `LearnMoreText`, `CircledQuestionIcon`, `CircledLogo`, `Custom`, `None`.
457
+
`CircledInfoIcon` is the default & `None` will remove the link altogether.
458
+
459
+
When using `Custom` the `setContent` (takes a single parameter of type `SpannableStringBuilder`) method should be called first (see second example below).
460
+
461
+
```kotlin
462
+
val afterpayBreakdown = view.findViewById<AfterpayPriceBreakdown>(R.id.afterpayPriceBreakdown)
Given the above, the price breakdown modal link will display "Click Here".
483
+
429
484
## Security
430
485
431
486
To limit the possibility of a man-in-the-middle attack during the checkout process, certificate pinning can be configured for the Afterpay portal. Please refer to the Android [Network Security Configuration][network-config] documentation for more information.
@@ -466,6 +521,9 @@ This project is licensed under the terms of the Apache 2.0 license. See the [LIC
0 commit comments