-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Jetcaster] UI polish of TV module and resolved navigation & focus traversal issue in player screen #1481
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # Jetcaster/gradle/libs.versions.toml
@@ -72,8 +72,18 @@ private fun EpisodeThumbnail( | |||
Card( | |||
onClick = onClick, | |||
interactionSource = interactionSource, | |||
scale = CardScale.None, | |||
scale = CardDefaults.scale(scale = 0.85f, focusedScale = 1.0f), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scaling is intentionally disabled. We should keep the original intention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't feel the previous behavior accurately reflects our design best practices to clearly indicate focus, because the card is very large and it's easy to overlook the outline. The added padding has compensated for the scaling elsewhere.
@@ -40,8 +41,18 @@ internal fun PodcastCard( | |||
Card( | |||
onClick = onClick, | |||
interactionSource = it, | |||
scale = CardScale.None, | |||
shape = CardDefaults.shape(RoundedCornerShape(12.dp)) | |||
scale = CardDefaults.scale(scale = 0.9f, focusedScale = 1.0f), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scaling is intentionally disabled. Would you keep the original code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thoughts as the comment in EpisodeCard.
Jetcaster/tv/src/main/java/com/example/jetcaster/tv/ui/component/EpisodeCard.kt
Outdated
Show resolved
Hide resolved
Jetcaster/tv/src/main/java/com/example/jetcaster/tv/ui/component/PodcastCard.kt
Outdated
Show resolved
Hide resolved
Jetcaster/tv/src/main/java/com/example/jetcaster/tv/ui/player/PlayerScreen.kt
Outdated
Show resolved
Hide resolved
Jetcaster/tv/src/main/java/com/example/jetcaster/tv/ui/player/PlayerScreen.kt
Outdated
Show resolved
Hide resolved
This issue has been automatically marked as stale because it has not had any recent activity. Please comment here if it is still valid so that we can reprioritize it. Thank you for your contributions. |
# Conflicts: # Jetcaster/gradle/libs.versions.toml # Jetcaster/mobile/src/main/java/com/example/jetcaster/ui/home/Home.kt # Jetcaster/mobile/src/main/java/com/example/jetcaster/ui/home/HomeViewModel.kt
No description provided.