remove/hide card.io/paypal logo android

2019-02-19 02:45发布

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?

3条回答
SAY GOODBYE
2楼-- · 2019-02-19 03:09

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);
查看更多
Summer. ? 凉城
3楼-- · 2019-02-19 03:11

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

查看更多
Emotional °昔
4楼-- · 2019-02-19 03:23

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

查看更多
登录 后发表回答