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
- 랜덤ID
- ButtonWithButton
- Android
- FRAGMENT
- RealtimeDB
- Kotlin
- 밑줄
- firebasefunctions
- ROOM
- 안드로이드
- lifecyclescope
- 뷰바인딩
- Activity
- BottomSheetDialog
- 안드로이드스튜디오
- ArrayList
- EditText
- textview
- OutlinedButton
- Dialog
- androidstudio
- Imageview
- MaterialButton
- 팝업액티비티
- nav_graph
- 코틀린
- firebase
- button
- 안드로이드 스튜디오
- ViewModel
Archives
- Today
- Total
목록BottomSheetDialog (2)
안드로이드 앱 개발
BottomSheetDialog 모서리를 둥글게 하고 싶었다. - Kotlin
1. drawalbe에 shape타입의 xml을 만들어준다. 2. themes(styles)에서 1번에서 만든 파일을 배경으로 하는 style을 만든다. 3. 2번에서 만든 style을 적용한 bottomSheetDialog theme을 만든다. 4. 코드에서 위 스타일을 적용한다. override fun getTheme(): Int = R.style.AppBottomSheetDialogTheme + BottomSheetDialog.xml의 전체 카드뷰의 CornerRadius를 줘야만 적용이 됐다...
카테고리 없음
2021. 5. 18. 01:35
BottomSheetDialog_Modal - Kotlin
1. bottomSheetDialog xml 파일을 만든다. 2. bottomSheetFragment를 아래와 같이 만든다. class BottomSheetFragmentCustomer : BottomSheetDialogFragment() { private val mContext: Context? = context override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { // Inflate the layout for this fragment val view = inflater.inflate(R.layout.custom_bottomsheet_addcus, co..
코틀린(Kotlin)공부
2021. 3. 29. 15:55