From 48debb27de4b02d8309b4e42737be066cdf33835 Mon Sep 17 00:00:00 2001 From: charliecruzan-stripe <97612659+charliecruzan-stripe@users.noreply.github.com> Date: Thu, 22 Dec 2022 10:12:46 -0800 Subject: [PATCH] fix: padding for CardField on android --- android/src/main/java/com/reactnativestripesdk/CardFieldView.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt b/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt index efe6f7075..224dfdb02 100644 --- a/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +++ b/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt @@ -142,6 +142,7 @@ class CardFieldView(context: ThemedReactContext) : FrameLayout(context) { } } + mCardWidget.setPadding(20, 0, 20, 0) mCardWidget.background = MaterialShapeDrawable( ShapeAppearanceModel() .toBuilder()