stripe-android
stripe-android copied to clipboard
Extendable StripeEditText subclasses
Summary
All StripeEditText subclasses made open instead of final.
Motivation
Allows extending all StripeEditTexts in order to customize them in places where styling won't help, and fix bugs in Material Components TextInputEditText/TextInputLayout.
Specific use case for me: Override setBackground
to apply rounded corners to collapsed label cutout.
Testing
Updated payments-core.api from public final
StripeEditText subclasses to just public
.
@vlad-roid thanks for posting this PR. We'll need to investigate the implications of opening these classes before we can accept this PR.
@mshafrir-stripe is there any update here? This kind of functionality is important for applications that want to implement their own UI.