In the card.io SDK implementation for Android we launch an CardIOActivity class. Which contains the camera preview and the "Keyboard" button.

Is it possible to customize the layout of the CardIOActivity class.

有帮助吗?

解决方案 2

The short answer is: no.

If you can say a bit more about what you are trying to accomplish, we might be able to figure something out, but in general the layout has been carefully designed to optimize the user experience.

其他提示

This might be helpful to some one if anyone face same issue For camera preview use :

EXTRA_SCAN_OVERLAY_LAYOUT_ID public static final String EXTRA_SCAN_OVERLAY_LAYOUT_ID Integer extra. Optional. If this value is provided the view will be inflated and will overlay the camera during the scan process. The integer value must be the id of a valid layout resource.

For disabling keyboard button or manual entry:

EXTRA_SUPPRESS_MANUAL_ENTRY public static final String EXTRA_SUPPRESS_MANUAL_ENTRY Boolean extra. Optional. Defaults to false. Removes the keyboard button from the scan screen.

If scanning is unavailable, the Activity result will be RESULT_SCAN_NOT_AVAILABLE.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top