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

ANDROID-14475 Subtitle color changed in lists #356

Merged
merged 10 commits into from
May 28, 2024

Conversation

pmartinbTEF
Copy link
Contributor

@pmartinbTEF pmartinbTEF commented May 23, 2024

🥅 What's the goal?

Update color of subtitle in lists. Implementation of this PR #337

🚧 How do we do it?

Changed secondary color to primary color in lists (check screenshots). Added screenshot tests for XML and compose

☑️ Checks

  • I updated the documentation, including readmes and wikis. If this is a breaking change, update UPGRADING.md to inform users how to proceed. If no updates are necessary, indicate so.
  • Tested with dark mode.
  • Tested with API 24.

🧪 How can I test this?

  • Open catalog app and go to lists
  • Check that list subtitle is in primary color

Before:

drawing drawing

After:

drawing drawing

Copy link

📱 New catalog for testing generated: Download

Copy link

📱 New catalog for testing generated: Download

Copy link

📱 New catalog for testing generated: Download

Copy link

📱 New catalog for testing generated: Download

Copy link

📱 New catalog for testing generated: Download

Copy link

📱 New catalog for testing generated: Download

@pmartinbTEF pmartinbTEF requested review from jeslat and yamal-alm May 27, 2024 17:15
Copy link

📱 New catalog for testing generated: Download

Copy link
Contributor

@yamal-alm yamal-alm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good job and thanks for the tests!

@@ -577,6 +579,7 @@ class ListRowView @JvmOverloads constructor(
private fun showNumericBadge(count: Int, withBadgeDescription: String?) {
Badge.removeBadge(badgeAnchor)
badgeAnchorContainer.visibility = View.VISIBLE
badgeAnchorContainer.setBackgroundColor(Color.Transparent.toArgb())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I don't add this line XML screenshots don't show badge

@pmartinbTEF pmartinbTEF marked this pull request as ready for review May 28, 2024 07:16
@pmartinbTEF pmartinbTEF requested a review from yceballost May 28, 2024 07:16
Copy link
Contributor

@yceballost yceballost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool!

Copy link
Contributor

@jeslat jeslat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@pmartinbTEF pmartinbTEF merged commit 432fb54 into main May 28, 2024
5 checks passed
@pmartinbTEF pmartinbTEF deleted the ANDROID-14475-Subtitle_color_list branch May 28, 2024 09:12
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.

4 participants