Skip to content
New issue

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

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

Already on GitHub? # to your account

Reworked the banner in Ready to send screen using card view #6429

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Sep 26, 2024

Closes #6347

Why is this the best possible solution? Were any other approaches considered?

I tried making the custom ReadyToSendBanner view extend MaterialCardView, 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 additional FrameLayout, 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:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 marked this pull request as ready for review September 26, 2024 09:16
@alyblenkin
Copy link
Collaborator

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.

@grzesiek2010
Copy link
Member Author

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.

Just text or the icon too? If we align both it will be like this:
Screenshot_1727424085

@alyblenkin
Copy link
Collaborator

Aligning the text was the only issue. I thought the icon looked fine before because the gap with the text looks too big.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove grey background on "Ready to send" screen
2 participants