Skip to content

Commit

Permalink
Merge branch 'master' into bump-version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnlm authored Jun 20, 2020
2 parents fe6af3f + 0c6d187 commit 7f1ab71
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ abstract class CommonLevelFragment : Fragment() {
0
}

val height = displayMetrics.heightPixels - actionBarHeight
val resourceId: Int = resources.getIdentifier("navigation_bar_height", "dimen", "android")
val bottom = if (resourceId > 0) { resources.getDimensionPixelSize(resourceId) } else 0

val height = displayMetrics.heightPixels - actionBarHeight - bottom
val recyclerViewHeight = (dimensionRepository.areaSize() * boardHeight)
val separatorsHeight = (dimensionRepository.areaSeparator() * (boardHeight - 1))

Expand Down

0 comments on commit 7f1ab71

Please sign in to comment.