Skip to content

Adjust background scale for different screens#51

Merged
SCratORS merged 1 commit intoSCratORS:mainfrom
Doctoror:increase-background-size
Apr 1, 2024
Merged

Adjust background scale for different screens#51
SCratORS merged 1 commit intoSCratORS:mainfrom
Doctoror:increase-background-size

Conversation

@Doctoror
Copy link
Copy Markdown
Contributor

@Doctoror Doctoror commented Apr 1, 2024

  • 0 for smallest screens
  • 0.17 if we have at least h300dp height
  • 0.25 if we have at least h400dp height
  • 0.3 for square-ish screens that have smallest side sw600dp
  • 0.25 for non-square-ish screens larger than 600dp any side

Landscape:
Nexus S:
Nexus S Landscape

Galaxy Nexus:
Galaxy Nexus Landscape

Pixel 7 Pro:
Pixel 7 Pro Landscape

Pixel Fold Folded:
Pixel Fold Folded Landscape

Pixel Fold Unfolded:
Pixel Fold Landscape

Pixel Tablet:
Pixel Tablet Landscape

Portrait:
Nexus S:
Nexus S

Galaxy Nexus:
Galaxy Nexus

Pixel 7 Pro:
Pixel 7 Pro

Pixel Fold Folded:
Pixel Fold Folded

Pixel Fold Unfolded:
Pixel Fold Portrait

Pixel Tablet:
Pixel Tablet

- 0 for smallest screens
- 0.17 if we have at least `h300dp` height
- 0.25 if we have at least `h400dp` height
- 0.3 for square-ish screens that have smallest side `sw600dp`
- 0.25 for non-square-ish screens larger than `600dp` any side
@SCratORS SCratORS merged commit 5216e46 into SCratORS:main Apr 1, 2024
@Doctoror Doctoror deleted the increase-background-size branch April 1, 2024 15:55
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