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

apply responsive tiles to alarm, calendar, news, timer, mediation #1165

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

hiroaki404
Copy link
Contributor

I applied responsive tiles to alarm, calendar, news, timer, meditation.

image image image image image

@@ -61,6 +62,7 @@ fun News(context: Context) = TilePreviewData {
it.deviceConfiguration,
headline = "Millions still without power as new storm moves across US",
newsVendor = "The New York Times",
date = LocalDate.now().minusDays(1),
Copy link
Contributor

Choose a reason for hiding this comment

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

I can see the appeal of both options, but is it worth using a fixed date for previews.

Particularly given future screenshot testing of previews?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yschimke
I think you are exactly right!
I want to display yesterday, I changed it using a fixed Clock.

image

@yschimke
Copy link
Contributor

yschimke commented Aug 6, 2024

Nit: the calendar preview shows a layout issue. But might be ok to demonstrate how reviews can highlight problems and solve later.

@hiroaki404
Copy link
Contributor Author

I wonder this is a bug in the library.
I also see this phenomenon in the favorite contacts tile built into wear os.
When the text size is changed, the text overflows.

@yschimke
Copy link
Contributor

yschimke commented Aug 6, 2024

Let's land as is and follow up

@yschimke yschimke merged commit 83c777b into android:main Aug 6, 2024
1 check passed
@hiroaki404 hiroaki404 deleted the update/apply_responsive_tiles branch August 6, 2024 13:28
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.

2 participants