Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- spring responseEntity response cause
- 운영체제 공룡책
- spring exceptionHandler reposnse stackTrace
- spring paging sort sql injection
- aws ec2 scp 파일 전송
- 운영체제 작동방식
- 운영체제 멀티 프로그래밍
- spring exception cause remove
- 백엔드 포지션 변경
- Android Timer
- 백엔드 직무 변경
- android 타이머
- IT 직무 변경
- OS 자원관리
- spring 동적 쿼리 주의사항
- spring exception stackTrace remove
- ec2 scp 파일 전송
- 운영체제 다중모드
- 운영체제 멀티 태스킹
- 개발 포지션 변경
- 운영체제 자원관리
- spring sql injection 방지
- spring exceptionHandler response cause
- spring sql injection
- 운영체제 개념
- 운영체제 커널모드
- spring dynamic query sql injection
- 개발 직무 변경
- IT 포지션 변경
- spring responseEntity response stackTrace
Archives
- Today
- Total
목록android setBounds Center (1)
오늘도 삽질중
android Drawable setBounds Center
가운데 마이크 이미지처럼 센터로 잡으려면 setBounds 에 해당 값을 세팅하면 됩니다. imageDrawable = ResourcesCompat.getDrawable(context.resources , R.drawable.icon_micoff, null) imageDrawable?.let { it.setBounds( (width/2) - (it.intrinsicHeight/2) , (height/2) - (it.intrinsicHeight/2), (width/2) + (it.intrinsicWidth/2) , (height/2) + (it.intrinsicHeight/2) ) canvas?.apply { it.draw(this) } }
안드로이드
2021. 4. 19. 12:35