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

Prevent line break on CartItemBinding #36

Open
tigrettin opened this issue May 1, 2020 · 0 comments
Open

Prevent line break on CartItemBinding #36

tigrettin opened this issue May 1, 2020 · 0 comments

Comments

@tigrettin
Copy link

Hello there,

This is more of an Android question rather than Stripe, but couldn't figure out, sorry.

I'm getting line breaks at prices with long item descriptions:

Screenshot_1588334738

Is there any way to always display single line prices, while shrinking the item description on left accordingly? In the fillOutCartItemView() method probably?

Tried something like below, but didn't help:

viewBinding.totalPrice.layoutParams.width = 100

Any suggestion or feedback will be welcomed and greatly appreciated.

Thanks!

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

No branches or pull requests

1 participant