Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CvcEditText layout issues in CardMultilineWidget #3154

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

mshafrir-stripe
Copy link
Collaborator

CvcEditText sets hint text by default, but this clashes with
the CvcEditText's TextInputLayout in CardMultilineWidget.

Remove hint text from the CvcEditText.

Use onAttachedToWindow() instead of onFinishInflate() to handle
CardMultilineWidget instantiated via layout or in code.

Fixes #3147

`CvcEditText` sets hint text by default, but this clashes with
the `CvcEditText`'s `TextInputLayout` in `CardMultilineWidget`.

Remove hint text from the `CvcEditText`.

Use `onAttachedToWindow()` instead of `onFinishInflate()` to handle
`CardMultilineWidget` instantiated via layout or in code.

Fixes #3147
@mshafrir-stripe mshafrir-stripe merged commit 5fed92d into master Dec 8, 2020
@mshafrir-stripe mshafrir-stripe deleted the fix-cvc branch December 8, 2020 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hint overlaps with the title in CardMultilineWidget
2 participants