#Nikul Kukadiya - Android Card UI
1 messages · Page 1 of 1 (latest)
Good question, checking in to what options Android has for this
Is the main thing you are looking for reducing the fields to just those three?
My design reference is something like this.
Gotcha, thanks for the reference
Heres how to do custom styling https://stripe.com/docs/elements/appearance-api?platform=android
Looking to see if android supports changing what fields show up. Unfortunately I don't think a customization to put those brand icons there exists but will still look
This is payment sheet
i do not want to use payment sheet i just wanted the card form fields with out country and zipcode
Stripe provides default something like this but i do not need the country dropdown at all
So ignore design just how to remove this country dropdown from this predefine form from stripe sdk
Good question, I can look. What is that second thing in your code? I am less familiar with our Android SDK but can look in to it if I have a name
It is card_form_field in the android sdk Or CardFormView
Did you find anything for this?
Looking now, thanks for the info
I found an issue that asked for this customization (among others) and unfortunately it sounds like work on that is still not on the immediate roadmap https://github.com/stripe/stripe-ios/issues/1932
I know that the payment sheet in other places can hide fields. Would you be interested if the sheet could do that? Or do you specifically want UI that isn't the sheet?
I want UI that isn't sheet
Gotcha, I'll see if we have alternatives.
Looks like we have a CardMultilineWidget that may suit your needs https://stripe.dev/stripe-android/payments-core/com.stripe.android.view/-card-multiline-widget/index.html
Also shows postal code by default but you can turn that off with shouldShowPostalCode