Shape Drawable 동적으로 색 변경하기
지난 Shape Drawable 포스팅에 이어 이번 포스팅에서는 Shape Drawable 의 색을 동적으로 변경해보자 How to ◼ Shape xml 생성 ◼ 하단과 같이 ImageView 의 background 를 Shape 로 지정 ◼ Shape color 를 변경하기 위해 하단과 같이 GradientDrawable 을 이용한다. Source code https://github.com/parkho79/ShapeDrawableDynamicColor
Android
2020. 1. 20. 16:11
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- mPANDO
- Android Service
- task 생성
- onContextItemSelected
- 무료 채굴
- notifyDataSetChanged
- WEMIX
- 안드로이드 서비스
- M2E
- onCreateContextMenu
- p2e
- StringUtils
- BroadcastReceiver
- 채굴앱
- task
- android intent
- 앱테크
- 리워드 어플
- StartService
- Intent
- 안드로이드 인텐트
- 리워드앱
- 무료채굴
- bindservice
- 앱테크 추천
- android task
- registerForContextMenu
- RoomDatabase
- android flag activity
- android activity flag
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
글 보관함