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

Android: Dynamically adapt grid span to card_game size #11254

Merged
merged 1 commit into from Nov 16, 2022

Conversation

t895
Copy link
Contributor

@t895 t895 commented Nov 6, 2022

In order to avoid getting stuck making a new dimension file every time a new device is found we take a known value for how large the game card will be, take the screen size, and adjust the grid accordingly.

dynamicspan

@JosJuice
Copy link
Member

JosJuice commented Nov 6, 2022

There are still some instances of game_grid_columns remaining. Check values-w300dp and values-w400dp.

My overall view of the PR: I suppose either way of doing it is fine.

@t895
Copy link
Contributor Author

t895 commented Nov 6, 2022

My overall view of the PR: I suppose either way of doing it is fine.

I just greatly prefer the more consistent look we can get here

@t895 t895 force-pushed the adaptive-grid branch 2 times, most recently from 6ebcf47 to 7de0698 Compare November 13, 2022 20:26
In order to avoid getting stuck making a new dimension file every time a new device is found we take a known value for how large the game card will be, take the screen size, and adjust the grid accordingly.
@JosJuice JosJuice merged commit cecd4d1 into dolphin-emu:master Nov 16, 2022
11 checks passed
@t895 t895 deleted the adaptive-grid branch January 1, 2023 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants