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