-
Notifications
You must be signed in to change notification settings - Fork 207
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
Update podcasts grid design #2165
Conversation
Generated by 🚫 Danger |
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.
It looks good to me.
The only difference is the badge for only latest badge is shown
if we compare with iOS, but since we are already waiting for clarification we can address this later
I added a shadow for podcast grid items in f660207 (Ref: Automattic/pocket-casts-ios#1690 (comment)) and increased small badge size from 10dp to 12dp (Ref: Automattic/pocket-casts-ios#1689). Badge Size Can you take another look @mebarbosa? |
# Conflicts: # CHANGELOG.md # modules/services/utils/src/main/java/au/com/shiftyjelly/pocketcasts/utils/featureflag/Feature.kt # modules/services/views/src/main/res/values/dimens.xml
val podcastBackground: View? = view.findViewById(R.id.header_background) | ||
val podcastTitle: TextView = view.findViewById(R.id.library_podcast_title) | ||
val author: TextView? = view.findViewById(R.id.podcast_author) | ||
val unplayedText: TextView = view.findViewById(R.id.unplayed_count) | ||
val unplayedBackground: ImageView? = view.findViewById(R.id.unplayed_background) | ||
val countTextMarginSmall: Int = 2.dpToPx(view.resources.displayMetrics) | ||
val cardElevation: Float = 2.dpToPx(view.resources.displayMetrics).toFloat() | ||
val cardCornerRadius: Float = 4.dpToPx(view.resources.displayMetrics).toFloat() |
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.
Really small suggestion: What do you think we add a top padding for the badge?
I feel the new drop-shadow is clipping a bit the podcast above. See:
and see the proposal here
I've reduced badge offset in 343cac4
It is intentional as on a large display, the grid items remain the same size but the badge will cover the artwork too much. |
Part of #2081
Description
This updates Podcasts tab grid design.
Figma Design: G60UqxPhTynbalo0Vfr1NC-fi-1255_8864
** I created a separate feature flag for these changes currently disabled in Firebase. It can be enabled in 7.64 if required.
Testing Instructions
Screenshots or Screencast
Checklist
./gradlew spotlessApply
to automatically apply formatting/linting)modules/services/localization/src/main/res/values/strings.xml
N/AI have tested any UI changes...