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

Feature: album grid size #661

Merged
merged 14 commits into from
Nov 14, 2024
Merged

Feature: album grid size #661

merged 14 commits into from
Nov 14, 2024

Conversation

sevonj
Copy link
Contributor

@sevonj sevonj commented Nov 14, 2024

Closes #498

Changes

  • Feature: Album grid size is now adjustable

Todo

  • Localization
  • Persistence
  • Fix crash on screen width change (Rotating phone, size fits landscape but not portrait)
    Either:
    • Clamp width
    • Column count can't be under 1

Comments

Minimum width is 100 dp, and the number of slider steps corresponds to how many of those 100-dp wide elements fit in a row. Right now, only the album view has this change, but it should be easy enough to reuse this for tabs, too. The dropdown could also hold more view options in the future, such as list / grid toggle.

So before I finish this, I'd like some feedback: Is this design good / approved?

Screenshots

image
image
image
image
image
image

Repository owner deleted a comment from github-actions bot Nov 14, 2024
@zyrouge zyrouge added the type: enhancement New feature or request label Nov 14, 2024
@sevonj sevonj force-pushed the feat-album-grid-size branch from 6027a97 to 808ac17 Compare November 14, 2024 17:34
@sevonj
Copy link
Contributor Author

sevonj commented Nov 14, 2024

What's your idea for opening the bottom sheet? Do I add a button to one of the top bars?

@zyrouge
Copy link
Owner

zyrouge commented Nov 14, 2024

What's your idea for opening the bottom sheet? Do I add a button to one of the top bars?

The button placement is kinda awkward but should be fine.

@sevonj
Copy link
Contributor Author

sevonj commented Nov 14, 2024

I'll use the original button minus the dropdown triangle then.

@sevonj sevonj marked this pull request as ready for review November 14, 2024 19:37
@sevonj
Copy link
Contributor Author

sevonj commented Nov 14, 2024

The button design could use use some more effort, but this should be fully functional now.

@zyrouge
Copy link
Owner

zyrouge commented Nov 14, 2024

LGTM!

@zyrouge zyrouge merged commit 65cf248 into zyrouge:main Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Grid size and artist cover art
2 participants