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 | 29 | 30 | 31 |
Tags
- kotlin
- notification
- sqlite
- 알림
- onMeasure
- 백준
- hilt
- activity
- AppBarLayout
- Behavior
- Coroutine
- Algorithm
- View
- room
- BOJ
- lifecycle
- ViewModel
- HTTP
- DataBinding
- 안드로이드
- recyclerview
- 알고리즘
- Navigation
- 코틀린
- CollapsingToolbarLayout
- CustomView
- CoordinatorLayout
- LiveData
- onLayout
- Android
Archives
- Today
- Total
목록레이아웃 (1)
개발일지

CustomeViewGroup Android에서 기본으로 제공하는 ViewGroup(Layout) 대신 ViewGroup을 상속받아 UI를 구축할 수 있다. OverlapLayout 전체코드 class OverlapLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, defStyleRes: Int = 0) : ViewGroup(context, attrs, defStyleAttr, defStyleRes) { override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { var width = 0 var height..
Android (안드로이드)/View
2021. 4. 30. 03:36