안드로이드 화면 크기 구하기
안드로이드 화면 크기 구하기
안드로이드로 작업 시 화면 크기를 구할 때 참고 할 수 있는 코드 입니다.
int width = getWindow().getWindowManager().getDefaultDisplay().getWidth(); int height = getWindow().getWindowManager().getDefaultDisplay().getHeight();
by RonnieJ · Published · Updated
안드로이드로 작업 시 화면 크기를 구할 때 참고 할 수 있는 코드 입니다.
int width = getWindow().getWindowManager().getDefaultDisplay().getWidth(); int height = getWindow().getWindowManager().getDefaultDisplay().getHeight();
Tags: android device width height안드로이드안드로이드 화면 크기안드로이드 화면 크기 구하기화면 크기
RonnieJ
프리랜서 IT강사로 활동하고 있습니다. 게임 개발, C++/C#, 1인 기업에 관심이 많습니다.
Please turn AdBlock off
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com