I want to show a Dialog with the method signature show(int top, int bottom, int left, int right, boolean includeTitle)
I want to place this Dialog in the center of the screen. So I want to know the total number of pixels of the screen vertically and the total number of pixels of the screen horizontally.
How to achieve that ?