'디바이스'에 해당되는 글 1건

  1. 2011.05.04 Android - 디바이스의 가로, 세로 가져오기
posted by Full-stack Developer 2011. 5. 4. 12:51

int w = getWindow().getWindowManager().getDefaultDisplay().getWidth();
int h = getWindow().getWindowManager().getDefaultDisplay().getHeight();