Still for test purpose, pass the context to get the screen dimension.