Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- scroll
- data
- 앱바
- ScrollView
- tabbar
- 앱
- Compose
- appbar
- binding
- Kotlin
- LifeCycle
- 계측
- CustomScrollView
- textfield
- TEST
- DART
- Flutter
- livedata
- intent
- 테스트
- textview
- 안드로이드
- activity
- Dialog
- Button
- drift
- android
- Navigation
- Coroutines
- viewmodel
Archives
- Today
- Total
Study Record
[안드로이드] Dialog 정리 본문
728x90
😶 MaterialAlterDialogBuilder
private fun showMaterialAlterDialog() {
MaterialAlertDialogBuilder(context)
.setTitle(resources.getString(R.string.title))
.setMessage(resources.getString(R.string.supporting_text))
.setNeutralButton(resources.getString(R.string.cancel)) { dialog, which ->
// Respond to neutral button press
}
.setNegativeButton(resources.getString(R.string.decline)) { dialog, which ->
// Respond to negative button press
}
.setPositiveButton(resources.getString(R.string.accept)) { dialog, which ->
// Respond to positive button press
}
.show()
}
Material Design
Build beautiful, usable products faster. Material Design is an adaptable system—backed by open-source code—that helps teams build high quality digital experiences.
m3.material.io
728x90
'안드로이드' 카테고리의 다른 글
[안드로이드] navigation 참고사항 (0) | 2023.08.01 |
---|---|
[안드로이드] ViewModel 과 LiveData & Data Binding (0) | 2023.07.28 |
[안드로이드] 메뉴 만들기 (0) | 2023.07.20 |
[안드로이드] Activity 시작하기 (0) | 2023.07.20 |
[안드로이드] 계측 테스트 참고 (0) | 2023.07.18 |