Android: Dynamically adapt grid span to card_game size
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.
This commit is contained in:
1 parent
f614f94568
commit
eb060c7356
11 files changed
+28
-45
No files matched your search
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<integer name="game_title_lines">2</integer>
|
||||
<integer name="game_grid_columns">1</integer>
|
||||
<integer name="loadsave_state_columns">1</integer>
|
||||
<integer name="loadsave_state_rows">6</integer>
|
||||
|
||||
|
||||
Reference in new issue
Block a user