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

fix series logo scaling in player #1876

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

mueslimak3r
Copy link
Member

Changes

  • adjust logo/title margins so the logo only has a 2dp bottom margin but the title text still has 8dp
  • constrain the logo to a max width of 450dp
  • copied some other properties from mainImage in view_row_details.xml which is used to display an item logo or poster in FullDetailsActivity.
  • use fitCenter scaling to fill the view. (this was useful when testing with SVGs since they needed to be scaled. SVG support is not included in this PR)

Issues

  • series logos would sometimes be far too large (I've seen some that take up half the screen horizontally)

Notes

  • I'm not super knowledgable about layouts so hopefully someone with more experience can give feedback on whether they are used correctly here, and if some aren't needed.

@mueslimak3r mueslimak3r added the bug Something isn't working label Jul 22, 2022
Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

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

Layout changes look fine!

@nielsvanvelzen nielsvanvelzen added this to In progress in v0.14.0 via automation Jul 22, 2022
@nielsvanvelzen nielsvanvelzen merged commit c3d75c7 into jellyfin:master Jul 22, 2022
v0.14.0 automation moved this from In progress to Done Jul 22, 2022
@mueslimak3r mueslimak3r deleted the player-series-logo-fix branch July 22, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v0.14.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants