이번 포스팅에서는 안드로이드 앱 개발 시 많이 사용하는 ImageView 에 다양한 크기의 image 를 보여주는 방법에 대해 소개한다. ImageView 에 대한 상세 사항은 하단 link 를 참조하자. [Android/UI] - ImageView scaleType ImageView 안에 image 의 크기를 확대, 축소 하거나 이동시킬 수 있는 속성이다. 기본값은 "fitCenter" 이다. 하단은 scaleType 에 사용된 원본 image 이다.(572x640) ◼ center 원본 image 그대로 ImageView 의 중앙에 위치한다. ◼ centerCrop ImageView 의 가로 or 세로 크기 중 큰쪽에 맞게 이미지를 확대 or 축소 후 남는 부분은 crop(자름) ◼ centerIns..
String abbreviate(String str, int maxWidth) 문자열을 지정한 크기(maxWidth) 만큼 축소시킴 StringUtils.abbreviate(null, *) = null StringUtils.abbreviate("", 4) = "" StringUtils.abbreviate("abcdefg", 6) = "abc..." StringUtils.abbreviate("abcdefg", 7) = "abcdefg" StringUtils.abbreviate("abcdefg", 8) = "abcdefg" StringUtils.abbreviate("abcdefg", 4) = "a..." StringUtils.abbreviate("abcdefg", 3) = IllegalArgumentExce..
- Total
- Today
- Yesterday
- bindservice
- 채굴앱
- RoomDatabase
- BroadcastReceiver
- 안드로이드 인텐트
- notifyDataSetChanged
- Android Service
- android activity flag
- StringUtils
- mPANDO
- WEMIX
- Intent
- onContextItemSelected
- 앱테크
- android intent
- 리워드앱
- task
- task 생성
- onCreateContextMenu
- 안드로이드 서비스
- 무료 채굴
- android flag activity
- registerForContextMenu
- android task
- StartService
- p2e
- 앱테크 추천
- 리워드 어플
- 무료채굴
- M2E
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |