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
- room
- recyclerview
- HTTP
- hilt
- View
- CollapsingToolbarLayout
- CoordinatorLayout
- activity
- notification
- Behavior
- AppBarLayout
- 알고리즘
- Algorithm
- lifecycle
- Android
- 코틀린
- CustomView
- LiveData
- ViewModel
- sqlite
- DataBinding
- BOJ
- onMeasure
- 백준
- 안드로이드
- 알림
- onLayout
- Coroutine
- Navigation
- kotlin
Archives
- Today
- Total
개발일지
삽질 - BottomSheetDialog 끝까지 보이게 하기 본문
Dialog.behavior.state를 STATE_EXPANDED로 바꿔주자!
BottomSheetDialogFragment에서 예시
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
return super.onCreateDialog(savedInstanceState).apply {
if (this is BottomSheetDialog) {
behavior.state = BottomSheetBehavior.STATE_EXPANDED
}
}
}
'삽질' 카테고리의 다른 글
삽질 - Android ConstraintLayout Group (0) | 2021.09.28 |
---|---|
삽질 - Android does not have a NavController set (2) | 2021.09.22 |
삽질 - Android font 여백 지우기 (0) | 2021.05.08 |
삽질 - More than one file was found with OS independent path (0) | 2021.05.04 |
삽질 - TextInputLayout AutoCompleteTextView setSelection (0) | 2021.03.10 |
Comments