Notice
Recent Posts
Recent Comments
꿈소년의 개발 이야기
Get display size 본문
반응형
WindowManager windowManager = (WindowManager) mContext.getSystemService(Context.WINDOW_SERVICE);
Display display = windowManager.getDefaultDisplay();
Point point = new Point();
display.getSize(point);
point.x is width size.
point.y is height size.
'Software Engineering' 카테고리의 다른 글
| Unicode Character Table (0) | 2017.10.19 |
|---|---|
| Variable initialization (0) | 2017.10.19 |
| String, StringBuilder, StringBuffer (0) | 2016.06.30 |
| 파일 위치 검색 명령어 2 (0) | 2016.04.15 |
| 리눅스 용량 확인 (0) | 2015.11.09 |
