我正在使用适用于 Android 的 dropin UI V2。 我一直在寻找一种稍微自定义它的方法,即重命名按钮并添加摘要描述。不过看官V2 documentation没有什么比这更好的了。诡异的。然后,我偶然发现了 V1 documentation它完全支持我想做的事情:
Customization customization = new Customization.CustomizationBuilder()
.primaryDescription("Cart")
.secondaryDescription("3 Items")
.amount("$35")
.submitButtonText("Purchase")
.build();
intent.putExtra(BraintreePaymentActivity.EXTRA_CUSTOMIZATION, customization);
V2 文档中是否意外遗漏了这一点(如果不是的话,这似乎是一个重要的收获)?如果是,我该如何使用它?如果我想要这种工作流程,我应该改用 V1 吗?
最佳答案
V2 也是可定制的,如 doc说:
If the Drop-in UI doesn't fit your needs, develop your own custom integration using our client SDKs to accept credit cards, PayPal, and other available payment method types
关于android - 在 Android Braintree 下拉式 UI 中更改按钮标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53331386/