-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Reworked the banner in Ready to send screen using card view #6429
Conversation
Could we left align all the text? Now that I'm seeing it, we have space to bring the icon and text closer together in the card. Otherwise, I think this looks really good and it anchors the page well. |
Aligning the text was the only issue. I thought the icon looked fine before because the gap with the text looks too big. |
@alyblenkin If only the text is aligned it will be like this, do you think it's better? |
The white space around the card makes it difficult to get the spacing right, but I don't want to spend too much more time on it because it's already looking good with the new card and app bar changes. I think we keep the text aligned but add a bit more space between the icon and text (it almost gives the illusion that the icons are aligned). |
34ec3cb
to
c292e81
Compare
c292e81
to
3e163b3
Compare
@alyblenkin it's ready. |
Tested with Success! Verified on device with Android 10 and 13 Verified cases:
|
Tested with Success Verified on device with Android 14 |
Closes #6347
Why is this the best possible solution? Were any other approaches considered?
I tried making the custom
ReadyToSendBanner
view extendMaterialCardView
, but it displayed gray background corners that I couldn't remove (this might be an Android bug). The solution was to wrap it in an additionalFrameLayout
, which may seem redundant at first glance.How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
The only change is the visual representation of the banner in
Ready to send
. Its functionality remains the same.Do we need any specific form for testing your changes? If so, please attach one.
No.
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
./gradlew connectedAndroidTest
(or./gradlew testLab
) and confirmed all checks still passDateFormatsTest