본문 바로가기
프로그래밍/Android(Java)

[Android] 커스텀 다이얼로그

by 쿼카퀀트 2019. 9. 29.
728x90
AlertDialog.Builder builder=new AlertDialog.Builder(MainActivity.this);

LayoutInflater inflater=getLayoutInflater();

View view=inflater.inflate(R.layout./*주소*/, null);
builder.setView(view);

/*negative, positive, message, title등 설정 후*/

builder.create().show();
728x90

댓글