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
- 코틀린
- BOJ
- activity
- HTTP
- notification
- recyclerview
- View
- AppBarLayout
- onLayout
- sqlite
- 알림
- Behavior
- hilt
- LiveData
- room
- onMeasure
- 알고리즘
- CoordinatorLayout
- CollapsingToolbarLayout
- CustomView
- 백준
- ViewModel
- Algorithm
- DataBinding
- Navigation
- Coroutine
- 안드로이드
- lifecycle
- Android
- kotlin
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