본문 바로가기

Debbi Story

검색하기
Debbi Story
프로필사진 Debbi

  • 분류 전체보기 (38)
    • 일상 (0)
    • mac 사용 tip (3)
    • 안드로이드 (28)
      • Plugins (3)
      • Jetpack (2)
      • Tip (19)
      • WebView (1)
      • PlayStore (3)
    • git (2)
    • 알고리즘 연습 (2)
    • 삽질 일기 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • notification setting
  • LOG
  • application
  • navigation component
  • ExifInterface
  • datastore
  • BottomSheetDialog
  • notification
  • Android
  • Blinking
  • Plugins
  • notification bar
  • jsontokotlinclass
  • requestPermission
  • Git
  • skipcollapsed
  • onReceivedSslError
  • webview
  • App Startup
  • ChromeCustomTab
  • 이미지 gps
  • kdoc-generator
  • onResume
  • room
  • prettyJson
  • 403 Error
  • ActivityResultContracts
  • shotcut
  • itemAnimator
  • circlecrop
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록WindowManager (1)

Debbi Story

[Android] 스크린 사이즈 구하기!

https://developer.android.com/reference/android/view/WindowManager#getDefaultDisplay() WindowManager | Android Developers developer.android.com 기존의 WindowManager의 getDefaultDisplay가 API Level 30부터 Deprecated 되었습니다. 가로 fun getScreenWidth(context: Context): Int { val wm = context.getSystemService(Context.WINDOW_SERVICE) as WindowManager return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { ..

안드로이드/Tip 2021. 11. 8. 22:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바