Android:在所有三星设备上查看Opaque card.io [英] Android: Opaque card.io view on all Samsung devices

查看:70
本文介绍了Android:在所有三星设备上查看Opaque card.io的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在我的Android应用程序中集成了card.io,并且当我发送意图调用card.io活动时,它会打开相机视图,其中card.io视图完全不透明,并且在该视图中看不到信用卡。此行为仅在Samsung设备上可见,而在其他OEM设备上则没有。我看到一个灰色的矩形,而不是该矩形周围的card.io视图和本机照相机视图。

I have integrated card.io in my Android application and when I send an intent to invoke card.io activity, it opens up the camera view with card.io view totally opaque and I do not see the credit card in the view. This behavior is only seen on Samsung devices and not on other OEM devices. I see a grey colored rectangle instead of the card.io view and native camera view around this rectangle.

令人惊讶的是,示例card.io应用程序也具有相同的视图。

Surprisingly, sample card.io application also behaves the same view.

能否请您调查此问题并提供有关如何解决此问题的详细信息?

Could you please look into this issue and provide details on how to fix this issue? Is this a known issue?

感谢您的支持。

推荐答案

我有同样的问题。我看到您将其发布在以下问题中: https:// github .com / card-io / card.io-Android-SDK / issues / 21 ,因此您似乎可以通过在操作中添加android:hardwareAccelerated = true来解决该问题。我不得不把它放在应用程序级别,并且对我有用。

I had this same problem. I saw you posted it in the issues here: https://github.com/card-io/card.io-Android-SDK/issues/21 so it looks like you were able to resolve it by adding android:hardwareAccelerated="true" in the action. I had to put it at the application level and it worked for me.

这篇关于Android:在所有三星设备上查看Opaque card.io的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆