Como posso saber a largura e altura da minha tela em pixels ? Abraços.
No lugar do this, seja o seu context.
WindowManager wm = (WindowManager) this.getSystemService(this.WINDOW_SERVICE);
Display display = wm.getDefaultDisplay();
int width = display.getHeight();
int height = display.getWidth();