diff --git a/xwords4/android/XWords4/res/layout/board.xml b/xwords4/android/XWords4/res/layout/board.xml index e53836991..001d4c4a6 100644 --- a/xwords4/android/XWords4/res/layout/board.xml +++ b/xwords4/android/XWords4/res/layout/board.xml @@ -9,7 +9,7 @@ maxCellSize ) { @@ -296,9 +368,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler, trayHt += heightLeft * 2; scoreHt += heightLeft; heightUsed = trayHt + scoreHt + ((nCells - nToScroll) * cellSize); - heightLeft = height - heightUsed; } - result.top = heightLeft / 2; result.trayHt = trayHt; result.scoreHt = scoreHt; @@ -308,7 +378,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler, result.height = heightUsed; result.cellSize = cellSize; - if ( gi.timerEnabled ) { + if ( m_gi.timerEnabled ) { Paint paint = new Paint(); paint.setTextSize( m_mediumFontHt ); paint.getTextBounds( "-00:00", 0, 6, m_boundsScratch ); @@ -334,7 +404,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler, m_letterRect = null; m_valRect = null; - BoardDims dims = figureBoardDims( width, height, m_gi ); + BoardDims dims = figureBoardDims( width, height ); m_left = dims.left; m_top = dims.top;