Use res value for max bubbles & elevation

Test: it compiles
Change-Id: I9f4a4f2967f076da4446c82ee1d0fa151784f954
2 files changed