CustomDialog

장시영·2022년 5월 18일
0
  1. Dialog 란?

대화상자라고 하며 특정 상황에 알림창을 띄워준다.

  1. 사용방법

1) themes.xml 작성

parent :

item :

2) AndroidManifest.xml 작성

android:name : dialog 폴더 밑에 DlgFirstpopup 클래스
android:theme : themes.xml 파일에 있는 style태그 customDialog라는 이름을 가진 테마를 액티비티에 모두 적용시킨다.

3) Activity 만들기

4) layout 만들기

dlgFirstpopup.xml 파일

profile
코딩주니어

0개의 댓글