일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Kotlin
- http method
- AndroidStudio
- Factory Method Pattern
- 현대 IT&E
- uri
- Android Studio
- 코드업
- url
- FACTORY
- swagger
- menutab
- 객체지향프로그래밍
- fontstyle
- 어노테이션
- udp
- URN
- tcp
- 채용확정형
- Python
- reflection
- 기초100제
- di
- IOC
- OpenAPI
- 2024-08-21
- OOP
- 2024-08-20
- Dialog
- datepicker
Archives
목록Dialog (1)
dingdong coding

Custom Dialog를 생성해보겠습니다. 저는 Activity에 Button을 하나 생성하여 Button Click 시 Dialog가 나오도록 하겠습니다. 우선 xml에 Dialog를 호출할 Button을 하나 생성하겠습니다. 그리고 custom dialog xml 파일을 새롭게 생성해보겠습니다. 이후 Dialog를 호출할 버튼이 있는 Activity의 class에 가서 onCreate에 해당 코드를 삽입합니다. override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_week) val today : ImageView = findViewById..
🌃Android/UI
2022. 1. 16. 16:30