set Background Resource
Sets the background drawable of the dialog.
Clears any previously set background color.
If rootView is null, only stores the resource ID to be applied when view is created.
다이얼로그의 배경 drawable을 설정합니다.
이전에 설정된 배경색을 지웁니다.
rootView가 null인 경우, 뷰 생성 시 적용될 리소스 ID만 저장합니다.
Parameters
root View
The root view to apply the background resource to, or null to only store the resource ID.
배경 리소스를 적용할 루트 뷰, 또는 리소스 ID만 저장하려면 null.
res Id
The drawable resource ID to set as background.
배경으로 설정할 drawable 리소스 ID.