remove/hide card.io/paypal logo android

依然范特西╮ 提交于 2020-01-21 07:53:05

问题


I am integrating Card.io in my android app and I want to remove the paypal logo. I searched stackoverflow and got to know the usage of EXTRA_USE_CARDIO_LOGO.

Setting this to true or false, shows either Paypal or Card.io logo. My client requires that there should be no logo at all. Any help?


回答1:


Update on this answer - as of 4.0+, card.io now supports full removal of the card.io logo with EXTRA_HIDE_CARDIO_LOGO.




回答2:


Josh from card.io here. There is no way to entirely disable logos.




回答3:


Jeff Brateman's answer above is partly correct. The PayPal logo is actually shown in 2 places, the card scanning view and the card details entry view. In order to hide both of them you need to add two putExtras to your scan intent:

scanIntent.putExtra(CardIOActivity.EXTRA_HIDE_CARDIO_LOGO, true);
scanIntent.putExtra(CardIOActivity.EXTRA_USE_PAYPAL_ACTIONBAR_ICON, false);


来源:https://stackoverflow.com/questions/20113240/remove-hide-card-io-paypal-logo-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!