Play Services card recognition activity not padding edges

1 day ago 2
ARTICLE AD BOX

When implementing card recognition from the Play Services Wallet/Pay SDK, the activity that opens doesn't seem to have any sort of padding from the devices edges or safe areas. I've made a MRE repo that produces the below screenshot.

I've tried setting an app-level theme override but nothing seems to change.

This API seems to be the industry standard on Android now. I see that Stripe's SDK relies on it.

Is there a way to adjust this for the activity managed by Play Services? Anything else I'm missing?

Versions

Play Services version: 26.02.35 API level: 36 Device: emulator and Pixel 9 Pro Fold

Screenshot

Play Services card recognition screen

Read Entire Article